Update pkg/instancegroups/rollingupdate.go

Co-authored-by: Ole Markus With <olemarkus@gmail.com>
This commit is contained in:
jandersen-plaid 2022-12-01 13:39:43 -08:00 committed by Jack Andersen
parent 2bd5403f37
commit 4eb455c6b9
No known key found for this signature in database
GPG Key ID: 3F47FBCA70B709C7
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ func sortGroups(groupMap map[string]*cloudinstances.CloudInstanceGroup) []string
// For example, if a cluster is unable to be validated by the deadline, then it
// is unlikely that it will validate on the next instance roll, so an early exit as a
// warning to the user is more appropriate.
func exitableError(err error) bool {
func isExitableError(err error) bool {
_, ok := err.(*ValidationTimeoutError)
return ok
}