Skip to content

Commit

Permalink
host ssh key fix2
Browse files Browse the repository at this point in the history
  • Loading branch information
rajguptavm committed Sep 18, 2024
1 parent c4b4e0c commit 481e064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -7080,7 +7080,7 @@ func execCommandOnGcWorker(sshClientConfig *ssh.ClientConfig, svcMasterIP string
}

cmdToGetContainerInfo := fmt.Sprintf("ssh -o StrictHostKeyChecking=no -i key %s@%s "+
"'%s'", gcNodeUser, gcWorkerIp, cmd)
"'%s'> >(grep -v 'Warning' >&2)", gcNodeUser, gcWorkerIp, cmd)
framework.Logf("Invoking command '%v' on host %v", cmdToGetContainerInfo,
svcMasterIP)
cmdResult, err = sshExec(sshClientConfig, svcMasterIP,
Expand Down

0 comments on commit 481e064

Please sign in to comment.