Skip to content

Commit

Permalink
lint: Use raw.String as per linting rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
paladin-devops committed Aug 27, 2024
1 parent 4ccdef2 commit dfaa290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registry_no_code_module.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit dfaa290

Please sign in to comment.