Rename the retained history limit diagnostic
This commit is contained in:
@@ -315,7 +315,7 @@ func executeLoadRequest[T any](request loadRequest[T], secrets SecretBinding, lo
|
||||
counter := newRetainedNodeCounter(historyLimit)
|
||||
inspection, admitted := prepareInspectionHistory(resolved, counter)
|
||||
if !admitted {
|
||||
accumulator.add(Diagnostic{Code: CodeExplainLimitExceeded, Severity: SeverityError, Message: "retained configuration history exceeds the node limit"})
|
||||
accumulator.add(Diagnostic{Code: CodeHistoryLimitExceeded, Severity: SeverityError, Message: "retained configuration history exceeds the node limit"})
|
||||
return nil, accumulator.loadError()
|
||||
}
|
||||
// Detach resolver-borrowed values before reference mutation or validation.
|
||||
|
||||
Reference in New Issue
Block a user