File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ func printParams(base *paramtable.BackupParams) {
8181 yml .Milvus .TlsMode = base .ParseIntWithDefault ("milvus.tlsMode" , 0 )
8282 yml .Milvus .User = base .BaseTable .LoadWithDefault ("milvus.user" , "" )
8383 yml .Milvus .Password = base .BaseTable .LoadWithDefault ("milvus.password" , "" )
84- yml .Milvus .CACertPath = base .BaseTable .LoadWithDefault ("milvus.tlsCertPath " , "" )
84+ yml .Milvus .CACertPath = base .BaseTable .LoadWithDefault ("milvus.caCertPath " , "" )
8585 yml .Milvus .ServerName = base .BaseTable .LoadWithDefault ("milvus.serverName" , "localhost" )
8686 yml .Milvus .mtlsCertPath = base .BaseTable .LoadWithDefault ("milvus.mtlsCertPath" , "" )
8787 yml .Milvus .mtlsKeyPath = base .BaseTable .LoadWithDefault ("milvus.mtlsKeyPath" , "" )
Original file line number Diff line number Diff line change @@ -526,9 +526,9 @@ func (gp *BaseTable) loadMilvusConfig() {
526526 _ = gp .Save ("milvus.password" , milvusPassword )
527527 }
528528
529- milvusTLSCertPath := os .Getenv ("MILVUS_CA_CERT_PATH" )
530- if milvusTLSCertPath != "" {
531- _ = gp .Save ("milvus.caCertPath" , milvusTLSCertPath )
529+ milvusCACertPath := os .Getenv ("MILVUS_CA_CERT_PATH" )
530+ if milvusCACertPath != "" {
531+ _ = gp .Save ("milvus.caCertPath" , milvusCACertPath )
532532 }
533533
534534 milvusServerName := os .Getenv ("MILVUS_SERVER_NAME" )
You can’t perform that action at this time.
0 commit comments