mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Use correct indexes
This commit is contained in:
parent
c3483002b0
commit
8bb7cb7ff4
1 changed files with 2 additions and 2 deletions
|
@ -831,7 +831,7 @@ def validate_windows_cred(host,
|
|||
password,
|
||||
host
|
||||
)
|
||||
logging_cmd = "winexe -U '{0}%XXX-REDACTED-XXX' //{2} \"hostname\"".format(
|
||||
logging_cmd = "winexe -U '{0}%XXX-REDACTED-XXX' //{1} \"hostname\"".format(
|
||||
username,
|
||||
host
|
||||
)
|
||||
|
@ -988,7 +988,7 @@ def deploy_windows(host,
|
|||
password,
|
||||
host
|
||||
)
|
||||
logging_creds = "-U '{0}%XXX-REDACTED-XXX' //{2}".format(
|
||||
logging_creds = "-U '{0}%XXX-REDACTED-XXX' //{1}".format(
|
||||
username,
|
||||
host
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue