Skip to content

Commit

Permalink
update getFailOverConfig log level (#768)
Browse files Browse the repository at this point in the history
  • Loading branch information
binbin0325 authored Jul 14, 2024
1 parent a0c848a commit c3c6011
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clients/cache/disk_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ func GetFailoverEncryptedDataKey(key, dir string) string {
func getFailOverConfig(filePath string, fileType ConfigCachedFileType) string {
if !file.IsExistFile(filePath) {
errMsg := fmt.Sprintf("read %s failed. cause file doesn't exist, file path: %s.", fileType, filePath)
logger.Error(errMsg)
logger.Warn(errMsg)
return ""
}
logger.Warnf("reading failover %s from path:%s", fileType, filePath)
Expand Down
2 changes: 1 addition & 1 deletion common/constant/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const (
KEY_BEAT = "beat"
KEY_DOM = "dom"
DEFAULT_CONTEXT_PATH = "/nacos"
CLIENT_VERSION = "Nacos-Go-Client:v2.2.6"
CLIENT_VERSION = "Nacos-Go-Client:v2.2.7"
REQUEST_DOMAIN_RETRY_TIME = 3
SERVICE_INFO_SPLITER = "@@"
CONFIG_INFO_SPLITER = "@@"
Expand Down

0 comments on commit c3c6011

Please sign in to comment.