Skip to content

Commit

Permalink
keptn#608 Correct error message
Browse files Browse the repository at this point in the history
  • Loading branch information
agrimmer committed Aug 12, 2019
1 parent 9daf609 commit f461cc0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cli/cmd/installAKS.go
Expand Up @@ -54,7 +54,7 @@ func (p aksPlatform) checkRequirements() error {

func (p aksPlatform) checkCreds() error {
if p.creds.ClusterName == "" || p.creds.AzureResourceGroup == "" || p.creds.AzureSubscription == "" {
return errors.New("Incomplete credential file " + *configFilePath)
return errors.New("Incomplete credentials")
}

authenticated, err := p.authenticateAtCluster()
Expand Down
2 changes: 1 addition & 1 deletion cli/cmd/installGKE.go
Expand Up @@ -54,7 +54,7 @@ func (p gkePlatform) checkRequirements() error {

func (p gkePlatform) checkCreds() error {
if p.creds.ClusterName == "" || p.creds.ClusterZone == "" {
return errors.New("Incomplete credential file " + *configFilePath)
return errors.New("Incomplete credentials")
}

authenticated, err := p.authenticateAtCluster()
Expand Down
2 changes: 1 addition & 1 deletion cli/cmd/installOpenShift.go
Expand Up @@ -52,7 +52,7 @@ func (p openShiftPlatform) checkRequirements() error {

func (p openShiftPlatform) checkCreds() error {
if p.creds.OpenshiftURL == "" || p.creds.OpenshiftUser == "" || p.creds.OpenshiftPassword == "" {
return errors.New("Incomplete credential file " + *configFilePath)
return errors.New("Incomplete credentials")
}

authenticated, err := p.authenticateAtCluster()
Expand Down

0 comments on commit f461cc0

Please sign in to comment.