diff --git a/cmd/commander/main.go b/cmd/commander/main.go index 96e4f54..09cdab0 100644 --- a/cmd/commander/main.go +++ b/cmd/commander/main.go @@ -9,7 +9,7 @@ import ( "net/http" "strconv" - cim "github.com/advanced-security/mrvacommander/lib/commander/inmemory" + "github.com/advanced-security/mrvacommander/lib/commander/lcmem" "github.com/gorilla/mux" "github.com/hohn/ghes-mirva-server/analyze" co "github.com/hohn/ghes-mirva-server/common" @@ -105,7 +105,7 @@ func MirvaStatus(w http.ResponseWriter, r *http.Request) { ji := store.GetJobInfo(js) analyze.StatusResponse(w, js, ji, id) - cim.StatusResponse(w, js, ji, id) + lcmem.StatusResponse(w, js, ji, id) } // Download artifacts diff --git a/lib/commander/inmemory.go b/lib/commander/lcmem.go similarity index 96% rename from lib/commander/inmemory.go rename to lib/commander/lcmem.go index 2ad1225..1197615 100644 --- a/lib/commander/inmemory.go +++ b/lib/commander/lcmem.go @@ -1,4 +1,5 @@ -package analyze +// The in-memory implementation of the mrva commander library +package lcmem import ( "encoding/json"