Skip to content

Commit

Permalink
Update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
msarvar committed Feb 1, 2021
1 parent 37fd2a7 commit 98386ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/events/approve_policies_command_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func (a *ApprovePoliciesCommandRunner) buildApprovePolicyCommandResults(ctx *Com
// share the same Owners list at this time so no reason to iterate over each
// project.
if len(prjCmds) > 0 && !prjCmds[0].PolicySets.IsOwner(ctx.User.Username) {
result.Error = fmt.Errorf("contact #orchestration channel for policy approvals")
result.Error = fmt.Errorf("contact policy owners to approve failing policies")
return
}

Expand Down

0 comments on commit 98386ba

Please sign in to comment.