From 41f35224cfa4896961deec4ff159af71d3c90f40 Mon Sep 17 00:00:00 2001 From: tombuildsstuff Date: Thu, 20 Jun 2024 11:40:11 +0200 Subject: [PATCH] `tools/importer-rest-api-specs`: fixing the fmt/test --- .../components/parser/internal/structs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/importer-rest-api-specs/components/parser/internal/structs.go b/tools/importer-rest-api-specs/components/parser/internal/structs.go index 160d1fdbb84..d5983f0bbca 100644 --- a/tools/importer-rest-api-specs/components/parser/internal/structs.go +++ b/tools/importer-rest-api-specs/components/parser/internal/structs.go @@ -107,7 +107,7 @@ func compareFields(first map[string]models.SDKField, second map[string]models.SD return fmt.Errorf("first.Sensitive was %t but second.Sensitive was %t", firstVal.Sensitive, secondVal.Sensitive) } if err := objectDefinitionsMatch(firstVal.ObjectDefinition, secondVal.ObjectDefinition); err != nil { - return fmt.Errorf("object definitions differ: %+v.\n\nFirst %q\n\nSecond %q", err, firstVal.ObjectDefinition, secondVal.ObjectDefinition) + return fmt.Errorf("object definitions differ: %+v.\n\nFirst %+v\n\nSecond %+v", err, firstVal.ObjectDefinition, secondVal.ObjectDefinition) } }