This commit is contained in:
Marc Campbell
2019-10-29 21:08:58 +00:00
parent 8a1bb8a422
commit 0b493a533b
2 changed files with 1 additions and 2 deletions

View File

@@ -4,7 +4,6 @@ import "C"
import (
"fmt"
"context"
"encoding/json"
"gopkg.in/yaml.v2"

View File

@@ -20,7 +20,7 @@ type fileContentProvider struct {
rootDir string
}
func DownloadAndAnalyze(analyzersSpec string, bundleURL string) ([]*AnalyzeResult, error) {
func DownloadAndAnalyze(bundleURL string, analyzersSpec string) ([]*AnalyzeResult, error) {
tmpDir, err := ioutil.TempDir("", "troubleshoot-k8s")
if err != nil {
return nil, errors.Wrap(err, "failed to create temp dir")