File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -173,15 +173,15 @@ func BuildClusterTags(ClusterResourceUID string) map[string]string {
173173 return tags
174174}
175175
176+ // NOTE: Currently we only key off the documented "Out of host capacity" error.
177+ // If OCI starts surfacing additional codes/messages we can expand this list.
178+ // Reference: https://docs.oracle.com/en-us/iaas/Content/Compute/Tasks/troubleshooting-out-of-host-capacity.htm
176179var outOfCapacityErrorCodes = map [string ]struct {}{
177- "LIMITEXCEEDED" : {},
178180 "OUTOFHOSTCAPACITY" : {},
179- "OUTOFCAPACITY" : {},
180181}
181182
182183var outOfCapacityErrorMessages = []string {
183184 "out of host capacity" ,
184- "out of capacity" ,
185185}
186186
187187// IsOutOfHostCapacityError returns true when the OCI service error indicates that the fault domain ran out of capacity.
You can’t perform that action at this time.
0 commit comments