Skip to content

Commit

Permalink
fix read_exec
Browse files Browse the repository at this point in the history
  • Loading branch information
23doors committed Aug 9, 2019
1 parent 3f7d27a commit 6e66c99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spinnaker/resource_application.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func applicationFromResource(data *schema.ResourceData) *application {
if strings.HasPrefix(perm, "read") {
readPerms = append(readPerms, team)
}
if strings.Contains(perm, "_exec_") {
if strings.Contains(perm, "exec") {
execPerms = append(execPerms, team)
}
if strings.HasSuffix(perm, "write") {
Expand Down

0 comments on commit 6e66c99

Please sign in to comment.