From dfaa290cc4439588af0f7765b848786d314a0870 Mon Sep 17 00:00:00 2001 From: paladin-devops <83741749+paladin-devops@users.noreply.github.com> Date: Thu, 8 Aug 2024 14:55:32 -0400 Subject: [PATCH] lint: Use raw.String as per linting rules. --- registry_no_code_module.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry_no_code_module.go b/registry_no_code_module.go index fc7c31efc..442022142 100644 --- a/registry_no_code_module.go +++ b/registry_no_code_module.go @@ -358,7 +358,7 @@ func (r *registryNoCodeModules) UpgradeWorkspace( return nil, fmt.Errorf("workspace not upgraded: %s", wuf.Message) } - return nil, fmt.Errorf("failed to unmarshal response into known structures: %q", string(raw.Bytes())) + return nil, fmt.Errorf("failed to unmarshal response into known structures: %q", raw.String()) } func (o RegistryNoCodeModuleCreateOptions) valid() error {