diff --git a/pkg/registry/kubernetesjsonschema.go b/pkg/registry/kubernetesjsonschema.go index 82e61e4..17748ca 100644 --- a/pkg/registry/kubernetesjsonschema.go +++ b/pkg/registry/kubernetesjsonschema.go @@ -66,7 +66,7 @@ func (r KubernetesRegistry) DownloadSchema(resourceKind, resourceAPIVersion, k8s } if resp.StatusCode != http.StatusOK { - return nil, fmt.Errorf("error while downloading schema - received HTTP status %s", resp.StatusCode) + return nil, fmt.Errorf("error while downloading schema - received HTTP status %d", resp.StatusCode) } body, err := ioutil.ReadAll(resp.Body)