Don't check for existence of binary path before the build stage has occurred

This commit is contained in:
Peter Rifel 2020-10-27 09:21:24 -05:00
parent 6e4f3e6a25
commit b3acf6a96c
No known key found for this signature in database
GPG Key ID: BC6469E5B16DB2B6
1 changed files with 0 additions and 4 deletions

View File

@ -70,10 +70,6 @@ func (d *deployer) verifyKopsFlags() error {
return errors.New("missing required --kops-binary-path")
}
}
_, err := os.Stat(d.KopsBinaryPath)
if err != nil {
return err
}
switch d.CloudProvider {
case "aws":