Skip to content

Commit

Permalink
chore: adding new enum 'fast' for rhods recent annotation changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ankit152 committed Nov 28, 2023
1 parent 9dabd8a commit 39a12ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/validator/am0001/default_channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ func (d *DefaultChannel) isPartOfEnum(defaultChannel string) validator.Result {
"stable": {},
"edge": {},
"rc": {},
"fast": {},
}
if _, ok := enum[defaultChannel]; !ok {
msg := fmt.Sprintf("The defaultChannel '%v' is not part of the accepted values: alpha, beta, stable, edge or rc.", defaultChannel)
Expand Down

0 comments on commit 39a12ff

Please sign in to comment.