Use %q for quoted strings where appropriate (#15216)

* change '%s' to %q where single vs double quotes shouldn't matter

* replace double quotes with %q in logs and errors
This commit is contained in:
swayne275
2022-08-03 12:32:45 -06:00
committed by GitHub
parent c36379cfec
commit 82f1216c83
32 changed files with 70 additions and 70 deletions

View File

@@ -50,7 +50,7 @@ func TestSwiftBackend(t *testing.T) {
err = cleaner.ContainerCreate(container, nil)
if nil != err {
t.Fatalf("Unable to create test container '%s': %v", container, err)
t.Fatalf("Unable to create test container %q: %v", container, err)
}
defer func() {
newObjects, err := cleaner.ObjectNamesAll(container, nil)