Skip to content

Commit

Permalink
Merge pull request #15 from jupyter-naas/72-fix-access-secret-while-m…
Browse files Browse the repository at this point in the history
…arked-for-deletion

added SECRET_MARKED_FOR_DELETION error
  • Loading branch information
Dr0p42 committed Feb 21, 2024
2 parents 1833949 + 72167d4 commit 22cdf58
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 10 deletions.
21 changes: 13 additions & 8 deletions go/github.com/jupyter-naas/naas-models/go/secrets/secret.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions protos/secret.proto
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ enum SecretError {
SECRET_NO_ERROR = 0;
SECRET_ALREADY_EXISTS = 1;
SECRET_NOT_FOUND = 2;
SECRET_MARKED_FOR_DELETION = 3;
}

message SecretResponseError {
Expand Down
1 change: 1 addition & 0 deletions python/naas_models/pydantic/secret_p2p.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class SecretError(IntEnum):
SECRET_NO_ERROR = 0
SECRET_ALREADY_EXISTS = 1
SECRET_NOT_FOUND = 2
SECRET_MARKED_FOR_DELETION = 3



Expand Down
5 changes: 3 additions & 2 deletions python/naas_models/secret_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 22cdf58

Please sign in to comment.