mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
CA-180128: Fix the tests after the changes to remove the task.other_config key
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
This commit is contained in:
parent
b74966274b
commit
dc986909fc
@ -277,8 +277,14 @@ namespace XenAdmin.ServerDBs
|
||||
}
|
||||
|
||||
case "remove_from_other_config":
|
||||
RemoveFromDictionary(pmi.TypeName, (string)args[1], "other_config", args[2]);
|
||||
return new Response<string>("");
|
||||
{
|
||||
string uuid = (string)args[1];
|
||||
if (!uuid.StartsWith("task")) // ignore other_config for tasks (used to keep track of meddling actions)
|
||||
{
|
||||
RemoveFromDictionary(pmi.TypeName, (string)args[1], "other_config", args[2]);
|
||||
}
|
||||
return new Response<string>("");
|
||||
}
|
||||
|
||||
case "add_to_gui_config":
|
||||
AddToDictionary(pmi.TypeName, (string)args[1], "gui_config", args[2], args[3]);
|
||||
|
Loading…
Reference in New Issue
Block a user