Skip to content

Commit

Permalink
removing .yml from remote loading (#3745)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mzack9999 authored May 26, 2023
1 parent eba34ad commit 5297384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/pkg/catalog/loader/remote_loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func getRemoteContent(URL string, remoteTemplateDomainList []string, remoteConte
}
return
}
if strings.HasPrefix(URL, "http") && stringsutil.HasSuffixAny(URL, extensions.YAML, extensions.YML) {
if strings.HasPrefix(URL, "http") && stringsutil.HasSuffixAny(URL, extensions.YAML) {
remoteContentChannel <- RemoteContent{
Content: []string{URL},
Type: contentType,
Expand Down

0 comments on commit 5297384

Please sign in to comment.