slightly more logging
This commit is contained in:
@@ -49,7 +49,7 @@ func (h *Handler) VmModify(w http.ResponseWriter, r *http.Request) {
|
||||
w.WriteHeader(http.StatusAccepted)
|
||||
fmt.Fprintf(w, "Processed update event but no config changes were found\n")
|
||||
} else {
|
||||
h.Logger.Debug("Received event contains config change info")
|
||||
h.Logger.Debug("Received event contains config change info", "source", event.CloudEvent.Source, "vm", event.CloudEvent.Data.VM.Name)
|
||||
configChanges = h.processConfigChanges(event.CloudEvent.Data.ConfigChanges.Modified)
|
||||
//prettyPrint(configChanges)
|
||||
|
||||
|
Reference in New Issue
Block a user