[skip ci] fix golint error in metrics_info.go (#9127)

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
This commit is contained in:
zhenshan.cao 2021-10-03 19:49:55 +08:00 committed by GitHub
parent 10122753e2
commit 906a9bd37c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,11 +44,18 @@ type HardwareMetrics struct {
}
const (
// GitCommitEnvKey defines the key to retrieve the commit corresponding to the current milvus version
// from the metrics information
GitCommitEnvKey = "MILVUS_GIT_COMMIT"
// maybe MILVUS_DEPLOY_MODE is more reasonable? not easy to change this due to compatible issue
DeployModeEnvKey = "DEPLOY_MODE"
ClusterDeployMode = "DISTRIBUTED"
// DeployModeEnvKey defines the key to retrieve the current milvus deployment mode
// from the metrics information
DeployModeEnvKey = "DEPLOY_MODE"
// ClusterDeployMode represents distributed deployment mode
ClusterDeployMode = "DISTRIBUTED"
// StandaloneDeployMode represents the stand-alone deployment mode
StandaloneDeployMode = "STANDALONE"
)