From bc73ed38c383c5e2b90c95ccb67a724e8354d5e7 Mon Sep 17 00:00:00 2001 From: Leonardo Cecchi Date: Mon, 22 Jan 2024 17:44:27 +0100 Subject: [PATCH] fix: service capability order (#14) Signed-off-by: Leonardo Cecchi --- proto/identity.proto | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/proto/identity.proto b/proto/identity.proto index 8cb0ad1..41fe8b7 100644 --- a/proto/identity.proto +++ b/proto/identity.proto @@ -73,19 +73,19 @@ message PluginCapability { enum Type { TYPE_UNSPECIFIED = 0; - // TYPE_WAL_SERVICE indicates that the Plugin provides RPCs for - // the WAL service. Plugins SHOULD provide this capability. - // The presence of this capability determines whether the CO will - // attempt to invoke the REQUIRED WALService RPCs, as well - // as specific RPCs as indicated by GetCapabilities. - TYPE_WAL_SERVICE = 1; - // TYPE_OPERATOR_SERVICE indicated that the Plugin provider RPCs // for the Operator service. // The presence of this capability determines whether the CO will // attempt to invoke the REQUIRED Opearator RPCs, as well // as specific RPCs as indicated by GetCapabilities. - TYPE_OPERATOR_SERVICE = 2; + TYPE_OPERATOR_SERVICE = 1; + + // TYPE_WAL_SERVICE indicates that the Plugin provides RPCs for + // the WAL service. Plugins SHOULD provide this capability. + // The presence of this capability determines whether the CO will + // attempt to invoke the REQUIRED WALService RPCs, as well + // as specific RPCs as indicated by GetCapabilities. + TYPE_WAL_SERVICE = 2; } Type type = 1; }