printf should have one argument per directive

This commit is contained in:
Nicolai Skogheim
2020-11-22 11:47:09 +01:00
parent 6b48cfe8cc
commit 21cc84d341
3 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -483,7 +483,7 @@ func generateYaml(swagger *openapi3.Swagger, newmd5 string) (*openapi3.Swagger,
var parse parsed
err := json.Unmarshal([]byte(parsedCategories), &parse)
if err != nil {
log.Printf("Failed unmarshaling categories", err)
log.Printf("Failed unmarshaling categories: %v", err)
} else {
api.Categories = parse.Categories
}