Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
simplify nag regex to be more resilient to upstream changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aroberts committed Jun 4, 2022
1 parent c126221 commit ab27cbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/remove-nag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
- name: Modify line in file to remove nag message
replace:
path: /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
regexp: 'res === null \|\| res === undefined \|\| !res \|\| res[\s\n]*\.data\.status\.toLowerCase\(\) !== .active.'
regexp: 'res[\s\n]*\.data\.status\.toLowerCase\(\) !== .active.'
replace: "false"
backup: yes
notify: restart pveproxy

0 comments on commit ab27cbe

Please sign in to comment.