Skip to content

Commit

Permalink
Merge pull request #41 from chizhg/fix-gke-flag
Browse files Browse the repository at this point in the history
Fix checking GCP SSH key logic
  • Loading branch information
k8s-ci-robot authored Aug 14, 2020
2 parents e647faf + 93e4363 commit 21e75c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubetest2-gke/deployer/commandutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (d *deployer) prepareGcpIfNeeded(projectID string) error {
return err
}

if d.gcpSSHKeyIgnored {
if !d.gcpSSHKeyIgnored {
// Ensure ssh keys exist
klog.V(1).Info("Checking existing of GCP ssh keys...")
k := filepath.Join(home(".ssh"), "google_compute_engine")
Expand Down

0 comments on commit 21e75c0

Please sign in to comment.