Skip to content

Commit ebb0e11

Browse files
authored
Merge pull request #11 from tcncloud/fix-log-level-result
Updates SetLogLevelResult to include Tenant
2 parents 28038bb + ab3003a commit ebb0e11

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

tcnapi/exile/gate/v2/public.proto

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -866,11 +866,18 @@ message SubmitJobResultsRequest {
866866

867867
/**
868868
* Result message for setting log level.
869-
* Contains confirmation of the log level change.
869+
* Contains the updated tenant information.
870870
*/
871871
message SetLogLevelResult {
872-
bool success = 1; // Whether the log level was successfully set
873-
string message = 2; // Optional message about the operation
872+
Tenant tenant = 1; // The tenant that was updated
873+
874+
message Tenant {
875+
string name = 1; // The name of the tenant. name will be in the format {org_id}::{unique_identifier}
876+
string sati_version = 2; // The version of the tenant
877+
string plugin_version = 3; // The version of the plugin
878+
google.protobuf.Timestamp update_time = 4; // The time when the tenant was last updated
879+
string connected_gate = 5; // The gate the tenant is connected with. will be empty if the tenant is not connected
880+
}
874881
}
875882
}
876883

0 commit comments

Comments
 (0)