fix format string

This commit is contained in:
Yann Hamon 2020-05-31 14:56:10 +02:00
parent e39ea12c8e
commit a1c2e9dc68

View file

@ -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)