fix compile error

This commit is contained in:
Hector 2021-08-30 08:03:28 +01:00
parent 745195d56a
commit d4351418b5

View File

@ -123,7 +123,7 @@ func newBadFormatError(command string, data interface{}) error {
}
func newConnectionError(command string, err error) error {
return fmt.Errorf("(%s) failed to send command through socket: %v", err)
return fmt.Errorf("(%s) failed to send command through socket: %v", command, err)
}
func trimSpaceForAll(slice []string) []string {