From 5f03e87bc29476df64af377ba93c444affa2faa1 Mon Sep 17 00:00:00 2001 From: Cai Yudong Date: Mon, 13 Dec 2021 18:28:32 +0800 Subject: [PATCH] Update type role const (#13244) Signed-off-by: yudong.cai --- internal/util/typeutil/type.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/internal/util/typeutil/type.go b/internal/util/typeutil/type.go index 029b2c8aa4..fb8b2213ef 100644 --- a/internal/util/typeutil/type.go +++ b/internal/util/typeutil/type.go @@ -22,19 +22,19 @@ type UniqueID = int64 const ( // RootCoordRole is a constant represent RootCoord - RootCoordRole = "RootCoord" + RootCoordRole = "rootcoord" // ProxyRole is a constant represent Proxy - ProxyRole = "Proxy" + ProxyRole = "proxy" // QueryCoordRole is a constant represent QueryCoord - QueryCoordRole = "QueryCoord" + QueryCoordRole = "querycoord" // QueryNodeRole is a constant represent QueryNode - QueryNodeRole = "QueryNode" + QueryNodeRole = "querynode" // IndexCoordRole is a constant represent IndexCoord - IndexCoordRole = "IndexCoord" + IndexCoordRole = "indexcoord" // IndexNodeRole is a constant represent IndexNode - IndexNodeRole = "IndexNode" + IndexNodeRole = "indexnode" // DataCoordRole is a constant represent DataCoord - DataCoordRole = "DataCoord" + DataCoordRole = "datacoord" // DataNodeRole is a constant represent DataNode - DataNodeRole = "DataNode" + DataNodeRole = "datanode" )