Skip to content

Commit

Permalink
Fix linting error after resolving conflicts.
Browse files Browse the repository at this point in the history
  • Loading branch information
a-h-abdelsalam committed Aug 22, 2024
1 parent 30a40cd commit 5e2f82d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gsad_validator.c
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,8 @@ init_validator ()
validator, "resource_type",
"^(alert|asset|audit_report|audit|cert_bund_adv|config|cpe|credential|cve|"
"dfn_cert_adv|filter|group|host|info|nvt|note|os|ovaldef|override|"
"permission|policy|port_list|report|report_config|report_format|result|role|scanner|"
"permission|policy|port_list|report|report_config|report_format|result|"
"role|scanner|"
"schedule|tag|target|task|ticket|tls_certificate|user|vuln|)$");
gvm_validator_add (validator, "resource_id", "^[[:alnum:]\\-_.:\\/~]*$");
gvm_validator_add (validator, "resources_action", "^(|add|set|remove)$");
Expand Down

0 comments on commit 5e2f82d

Please sign in to comment.