Skip to content

Commit bfde07b

Browse files
committed
fix(client/daemon): update type hint for resource clients option
Signed-off-by: yxxhero <aiopsclub@163.com>
1 parent 3da4f63 commit bfde07b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/daemon/daemon.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func New(opt *config.DaemonOption, d dfpath.Dfpath) (Daemon, error) {
114114
logger.Infof("update runtime max threads: %d", opt.MaxThreads)
115115
}
116116

117-
// FIXME the viper casts all case sensitive keys into lower case, but the resource clients option is map[string]interface{}, it should not be casted.
117+
// FIXME the viper casts all case sensitive keys into lower case, but the resource clients option is map[string]any, it should not be casted.
118118
// issue: https://github.com/spf13/viper/issues/1014
119119
tmpOpt := config.NewDaemonConfig()
120120
err := tmpOpt.Load(viper.ConfigFileUsed())

0 commit comments

Comments
 (0)