Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pkg/errors/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,9 @@ func ToReasonMessage(err error) (string, string) {
if strings.Contains(err.Error(), "InternalError") {
return "InternalError", "An internal error has occurred"
}
if strings.Contains(err.Error(), "not eligible for Free Tier") {
return "FreeTierIneligible", "The specified instance type is not eligible for Free Tier"
}
// ICE Errors come last in this list because we should return a generic ICE error if all of the errors that are returned from
// fleet are ICE errors
if strings.Contains(err.Error(), "MaxFleetCountExceeded") {
Expand Down