Skip to content

Commit

Permalink
fix error message parsing for requesting too much memory error (#3963)
Browse files Browse the repository at this point in the history
  • Loading branch information
Feroze Mohideen authored Nov 12, 2023
1 parent 6b1d60a commit 5e13f03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/porter_app/notifications/porter_error/codes.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func ErrorCode(agentSummary, agentDetail string) PorterErrorCode {
}

// this is often a false alarm. if it is actually blocking deploy, we will get a PorterErrorCode_MemoryLimitExceeded_ScaleUp
if strings.Contains(agentSummary, "requested more memory than is available") {
if strings.Contains(agentSummary, "requesting more memory than is available") {
return PorterErrorCode_Ignorable
}

Expand Down

0 comments on commit 5e13f03

Please sign in to comment.