mirror of
https://github.com/yannh/kubeconform.git
synced 2026-04-15 00:44:45 +00:00
remove gosimple offences
This commit is contained in:
parent
e4f6eae348
commit
65968cf540
7 changed files with 7 additions and 7 deletions
|
|
@ -55,7 +55,7 @@ type Opts struct {
|
|||
func New(schemaLocations []string, opts Opts) (Validator, error) {
|
||||
// Default to our kubernetes-json-schema fork
|
||||
// raw.githubusercontent.com is frontend by Fastly and very fast
|
||||
if schemaLocations == nil || len(schemaLocations) == 0 {
|
||||
if len(schemaLocations) == 0 {
|
||||
schemaLocations = []string{"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/{{ .NormalizedKubernetesVersion }}-standalone{{ .StrictSuffix }}/{{ .ResourceKind }}{{ .KindSuffix }}.json"}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue