Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lint: Fix non-constant format string warnings
This commit should fix these errors from recent golangci-lint: Error: pkg/config/virtio.go:273:23: printf: non-constant format string in call to fmt.Errorf (govet) return fmt.Errorf(fmt.Sprintf("unexpected value for virtio-input %s option: %s", option.key, option.value)) ^ Error: pkg/config/virtio.go:318:23: printf: non-constant format string in call to fmt.Errorf (govet) return fmt.Errorf(fmt.Sprintf("Invalid value for virtio-gpu %s: %s", option.key, option.value)) ^ Error: pkg/config/virtio.go:325:23: printf: non-constant format string in call to fmt.Errorf (govet) return fmt.Errorf(fmt.Sprintf("Invalid value for virtio-gpu %s: %s", option.key, option.value)) ^ Signed-off-by: Christophe Fergeau <[email protected]>
- Loading branch information