Răsfoiți Sursa

fix error message parsing for requesting too much memory error (#3963)

Feroze Mohideen 2 ani în urmă
părinte
comite
5e13f031e5
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      internal/porter_app/notifications/porter_error/codes.go

+ 1 - 1
internal/porter_app/notifications/porter_error/codes.go

@@ -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
 	}