Fixes check policy copy issue where copied checks are all of type diskspace

This commit is contained in:
sadnub
2022-05-14 22:01:29 -04:00
parent 17aedae0a9
commit 809e172280
2 changed files with 2 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
"dbaeumer.vscode-eslint", "dbaeumer.vscode-eslint",
"esbenp.prettier-vscode", "esbenp.prettier-vscode",
"editorconfig.editorconfig", "editorconfig.editorconfig",
"johnsoncodehk.volar", "vue.volar",
"wayou.vscode-todo-highlight", "wayou.vscode-todo-highlight",
// python // python

View File

@@ -229,6 +229,7 @@ CHECKS_NON_EDITABLE_FIELDS = [
] ]
POLICY_CHECK_FIELDS_TO_COPY = [ POLICY_CHECK_FIELDS_TO_COPY = [
"check_type",
"warning_threshold", "warning_threshold",
"error_threshold", "error_threshold",
"alert_severity", "alert_severity",