mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-11 14:09:21 +00:00
fix format string
This commit is contained in:
parent
e39ea12c8e
commit
a1c2e9dc68
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue