Don't display active connection count if it's not authorized (#2200)

This commit is contained in:
Jeff Mitchell authored and GitHub committed 2022-06-15 16:50:55 -04:00
1 parent a83a4112ce
commit 3d42737789
5 files changed
+45 -41

No files matched your search

@@ -97,7 +97,7 @@ message Worker {
google.protobuf.StringValue worker_generated_auth_token = 150 [json_name = "worker_generated_auth_token"]; // @gotags: `class:"public"`
// Output only. The number of connections that this worker is currently handling.
uint32 active_connection_count = 160 [json_name = "active_connection_count"]; // @gotags: `class:"public"`
google.protobuf.UInt32Value active_connection_count = 160 [json_name = "active_connection_count"]; // @gotags: `class:"public"`
// Output only. The available actions on this resource for the requester.
repeated string authorized_actions = 300 [json_name = "authorized_actions"]; // @gotags: `class:"public"`