Skip to content
Snippets Groups Projects

Fix ingest seci

Merged Charlotte Hausman requested to merge fix_ingest_seci into main
3 files
+ 10
3
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -26,6 +26,7 @@ import (
"io"
"io/ioutil"
"net/http"
"net/url"
"path/filepath"
)
@@ -38,6 +39,7 @@ type CapoInput struct {
CapoProfile string
}
//checkError
/**
* Check if an error happened and panic on it if so
*
@@ -79,7 +81,7 @@ func GetCalibrationLocator(imgSetPath string, input CapoInput) string {
imgSet := filepath.Base(imgSetPath)
// Make the REST call
lookupUrl := locatorEndpoint + imgSet
lookupUrl := locatorEndpoint + url.QueryEscape(imgSet)
resp, err := http.Get(lookupUrl)
checkError(err)
Loading