Skip to content

Commit

Permalink
Add note to application delete field (#5101)
Browse files Browse the repository at this point in the history
Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com>
  • Loading branch information
khanhtc1202 authored Aug 5, 2024
1 parent dcf8cde commit 9ec2503
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/model/application.pb.go

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

4 changes: 4 additions & 0 deletions pkg/model/application.proto
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ message Application {
// Unix time when the application was deleted.
int64 deleted_at = 98 [(validate.rules).int64.gte = 0];
// Whether the application is deleted or not.
//
// NOTE:
// PipeCD logic with application should NOT reply on this field.
// Use `disabled` field instead.
bool deleted = 99;
// Whether the application is disabled or not.
bool disabled = 100;
Expand Down

0 comments on commit 9ec2503

Please sign in to comment.