diff --git a/conf/wide.go b/conf/wide.go index e6c15e5..808b5e0 100644 --- a/conf/wide.go +++ b/conf/wide.go @@ -237,7 +237,9 @@ func initWide(confPath, confIP, confPort, confServer, confLogLevel, confStaticSe Wide.Context = confContext } - Wide.StaticResourceVersion = strings.Replace(Wide.StaticResourceVersion, "${time}", strconv.FormatInt(time.Now().UnixNano(), 10), 1) + time := strconv.FormatInt(time.Now().UnixNano(), 10) + logger.Debugf("${time} [%s]", time) + Wide.StaticResourceVersion = strings.Replace(Wide.StaticResourceVersion, "${time}", time, 1) // Channel Wide.Channel = strings.Replace(Wide.Channel, "{IP}", Wide.IP, 1)