From f58b32ef3c661676388bce1334618772c5f2241d Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Tue, 16 Mar 2021 15:05:13 +0100 Subject: [PATCH 1/2] enforce quota --- cs3/rpc/v1beta1/code.proto | 9 +++++++++ docs/index.html | 11 +++++++++++ 2 files changed, 20 insertions(+) diff --git a/cs3/rpc/v1beta1/code.proto b/cs3/rpc/v1beta1/code.proto index 2567c6c3..e19fa007 100644 --- a/cs3/rpc/v1beta1/code.proto +++ b/cs3/rpc/v1beta1/code.proto @@ -183,4 +183,13 @@ enum Code { // Redirects the operation to another location. // Used in a Status reponse with a reference to the target URI. CODE_REDIRECTION = 18; + // + // HTTP Mapping: 507 Insufficient Storage + CODE_INSUFFICIENT_STORAGE = 19; + // The operation could not be performed because there is not enough + // storage available. This can be because of lack of real storage + // space or because of the exceeding of a quota associated to a + // storage. + // + } diff --git a/docs/index.html b/docs/index.html index 47db8e25..7f2f56a6 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3443,6 +3443,17 @@

Code

Used in a Status reponse with a reference to the target URI.

+ + CODE_INSUFFICIENT_STORAGE + 19 +

HTTP Mapping: 507 Insufficient Storage + +The operation could not be performed because there is not enough +storage available. This can be because of lack of real storage +space or because of the exceeding of a quota associated to a +storage.

+ + From f974b7dd4efe8e1a457c339362b83661e35899d3 Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Mon, 22 Mar 2021 13:56:22 +0100 Subject: [PATCH 2/2] fix comment position --- cs3/rpc/v1beta1/code.proto | 5 ++--- docs/index.html | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/cs3/rpc/v1beta1/code.proto b/cs3/rpc/v1beta1/code.proto index e19fa007..cfc503d7 100644 --- a/cs3/rpc/v1beta1/code.proto +++ b/cs3/rpc/v1beta1/code.proto @@ -184,12 +184,11 @@ enum Code { // Used in a Status reponse with a reference to the target URI. CODE_REDIRECTION = 18; // - // HTTP Mapping: 507 Insufficient Storage - CODE_INSUFFICIENT_STORAGE = 19; // The operation could not be performed because there is not enough // storage available. This can be because of lack of real storage // space or because of the exceeding of a quota associated to a // storage. // - + // HTTP Mapping: 507 Insufficient Storage + CODE_INSUFFICIENT_STORAGE = 19; } diff --git a/docs/index.html b/docs/index.html index 7f2f56a6..0a218d2d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3446,12 +3446,12 @@

Code

CODE_INSUFFICIENT_STORAGE 19 -

HTTP Mapping: 507 Insufficient Storage - -The operation could not be performed because there is not enough +

The operation could not be performed because there is not enough storage available. This can be because of lack of real storage space or because of the exceeding of a quota associated to a -storage.

+storage. + +HTTP Mapping: 507 Insufficient Storage