add vm cleanup endpoint
This commit is contained in:
@@ -39,7 +39,7 @@ func (h *Handler) VmImport(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
ctx := context.Background()
|
||||
|
||||
// TODO - query Inventory table for this VM before adding it
|
||||
// Query Inventory table for this VM before adding it
|
||||
h.Logger.Debug("Checking inventory table for VM record")
|
||||
invParams := queries.GetInventoryVmIdParams{
|
||||
VmId: sql.NullString{String: inData.VmId, Valid: inData.VmId != ""},
|
||||
|
Reference in New Issue
Block a user