Skip to content

Commit b0985f1

Browse files
swordqiuQiu Jian
andauthored
fix: change OutOfResource http status code to 507 (#23986)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
1 parent 56741a7 commit b0985f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/httperrors/consts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ var (
134134
ErrMissingParameter: 400,
135135

136136
ErrInsufficientResource: 400,
137-
ErrOutOfResource: 500,
137+
ErrOutOfResource: 507,
138138
ErrOutOfQuota: 400,
139139
ErrOutOfRange: 400,
140140
ErrOutOfLimit: 400,

0 commit comments

Comments
 (0)