mirror of
https://github.com/FairwindsOps/polaris.git
synced 2026-05-21 16:43:57 +00:00
more edits
This commit is contained in:
@@ -122,8 +122,7 @@ func ParseFile(path string) (Configuration, error) {
|
||||
if err != nil {
|
||||
return Configuration{}, err
|
||||
}
|
||||
}
|
||||
if strings.HasPrefix(path, "https://") || strings.HasPrefix(path, "http://") {
|
||||
} else if strings.HasPrefix(path, "https://") || strings.HasPrefix(path, "http://") {
|
||||
//path is a url
|
||||
response, err := http.Get(path)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user