Skip to content

Commit 5bc9638

Browse files
almottierAlexandre Mottier
andauthored
fix(core): add quota in quotas exceeded error (#4670)
Signed-off-by: Alexandre Mottier <[email protected]> Co-authored-by: Alexandre Mottier <[email protected]>
1 parent 766312b commit 5bc9638

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/command_interceptor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func sdkStdErrorInterceptor(
8686
invalidArgs := make([]string, len(sdkError.Details))
8787
resources := make([]string, len(sdkError.Details))
8888
for i, d := range sdkError.Details {
89-
invalidArgs[i] = fmt.Sprintf("- %s has reached its quota (%d/%d)", d.Resource, d.Current, d.Current)
89+
invalidArgs[i] = fmt.Sprintf("- %s has reached its quota (%d/%d)", d.Resource, d.Current, d.Quota)
9090
resources[i] = fmt.Sprintf("'%v'", d.Resource)
9191
}
9292

0 commit comments

Comments
 (0)