Remove ineffective assignment

This commit is contained in:
Conrad Hoffmann 2021-12-09 21:18:12 +01:00
parent e1906fa46c
commit ffd2720d1b
1 changed files with 0 additions and 2 deletions

View File

@ -138,8 +138,6 @@ func Execute(cmd string, args []string, config string, target string, logger log
args = append(args, "--config-file", pipe)
if target != "" {
args = append(args, "-h", target)
} else {
target = "[local]"
}
_ = level.Debug(logger).Log("msg", "Executing", "command", cmd, "args", fmt.Sprintf("%+v", args))