Skip to content

Commit

Permalink
Fixed the infinite loop bug keptn#2425
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitjain28may committed Sep 28, 2020
1 parent 5ddedf9 commit 6ade8bc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cli/pkg/platform/platform_manager.go
Expand Up @@ -93,6 +93,10 @@ func (mng PlatformManager) ReadCreds() error {
if in == "y" || in == "yes" {
break
}

if in == "n" || in == "no" {
return errors.New("Stopping installation")
}
}

newCreds, _ := json.Marshal(mng.platform.getCreds())
Expand Down

0 comments on commit 6ade8bc

Please sign in to comment.