Skip to content

Commit

Permalink
Renamed the set_level message field in SetLogLevelRequest to new_level.
Browse files Browse the repository at this point in the history
The name new_level better expresses the intent of the field, set_level
is not quite as expressive.

Signed-off-by: Edwin Buck <[email protected]>
  • Loading branch information
edwbuck committed Feb 22, 2024
1 parent 57f47da commit 0a25c52
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions proto/spire/api/agent/logger/v1/logger.pb.go

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

2 changes: 1 addition & 1 deletion proto/spire/api/agent/logger/v1/logger.proto
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ message GetLoggerRequest {
message SetLogLevelRequest {

// The new level the logger should assume
spire.api.types.LogLevel set_level = 1;
spire.api.types.LogLevel new_level = 1;
}

// Empty Reset Log Level Request message for future extension
Expand Down
12 changes: 6 additions & 6 deletions proto/spire/api/server/logger/v1/logger.pb.go

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

2 changes: 1 addition & 1 deletion proto/spire/api/server/logger/v1/logger.proto
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ message GetLoggerRequest {
message SetLogLevelRequest {

// The new level the logger should assume
spire.api.types.LogLevel set_level = 1;
spire.api.types.LogLevel new_level = 1;

}

Expand Down

0 comments on commit 0a25c52

Please sign in to comment.