Skip to content

Commit

Permalink
Remove RemediableError type
Browse files Browse the repository at this point in the history
  • Loading branch information
MDrakos committed Nov 20, 2024
1 parent 759d1a9 commit b3a22a5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/platform/api/buildplanner/response/commit.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func processPlanningError(message string, subErrors []*BuildExprError) error {
}
}

if se.Type != types.RemediableSolveErrorType && se.Type != types.GenericSolveErrorType && se.Type != types.RemediableError {
if se.Type != types.RemediableSolveErrorType && se.Type != types.GenericSolveErrorType {
continue
}

Expand Down
1 change: 0 additions & 1 deletion pkg/platform/api/buildplanner/types/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const (
HeadOnBranchMovedErrorType = "HeadOnBranchMoved"
ForbiddenErrorType = "Forbidden"
GenericSolveErrorType = "GenericSolveError"
RemediableError = "RemediableError"
RemediableSolveErrorType = "RemediableSolveError"
PlanningErrorType = "PlanningError"
MergeConflictType = "MergeConflict"
Expand Down

0 comments on commit b3a22a5

Please sign in to comment.