viant / toolbox

Toolbox - go utility library
Apache License 2.0
197 stars 29 forks source link

Missing arg #46

Closed alexsaezm closed 1 year ago

alexsaezm commented 1 year ago

While building toolbox for Fedora, I realized that it has an issue in the service.go file.

# github.com/viant/toolbox/ssh
./service.go:245:27: fmt.Sprintf format %v reads arg #2, but call has 1 arg
./service.go:258:27: fmt.Sprintf format %s reads arg #2, but call has 1 arg

I'm not quite sure what output is expected here. Can someone clarify what is expected?

I already patched it in the distribution but I would like to have it fixed here and with a clear understanding of the string.