add more srm checks
This commit is contained in:
@@ -131,6 +131,9 @@ func (h *Handler) VmModifyEvent(w http.ResponseWriter, r *http.Request) {
|
||||
if change["newValue"] == "testVm" {
|
||||
h.Logger.Debug("testVm")
|
||||
params.PlaceholderChange = sql.NullString{String: "testVm", Valid: true}
|
||||
} else if change["newValue"] == "placeholderVm" {
|
||||
h.Logger.Debug("placeholderVm")
|
||||
params.PlaceholderChange = sql.NullString{String: "placeholderVm", Valid: true}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user