mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-05 02:12:48 +08:00
[skip ci] fix golint error in metrics_info.go (#9127)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
This commit is contained in:
parent
10122753e2
commit
906a9bd37c
@ -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"
|
||||
)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user