Skip to content
This repository has been archived by the owner on Oct 5, 2020. It is now read-only.

Commit

Permalink
Merge pull request #175 from rebuy-de/improve-error-message
Browse files Browse the repository at this point in the history
improve error message
  • Loading branch information
svenwltr authored Apr 30, 2020
2 parents fa0f95e + b99ddbb commit 2eb3ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func checkForArgoApp(project string) (bool, error) {
return false, nil
}

return true, errors.New(fmt.Sprintf("Found argo app '%s', abort deployment", project))
return true, errors.New(fmt.Sprintf("Project is managed by ArgoCD. Please deploy with `/kubot-deploy %s`.", project))
}

func (app *App) Apply(project, branchName string) error {
Expand Down

0 comments on commit 2eb3ed0

Please sign in to comment.