slightly more logging
This commit is contained in:
1 parent
c0e6eec89d
commit
fb4a7a790d
1 file changed
+1
-1
@@ -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