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

Commit

Permalink
Merge pull request #18 from aroberts/master
Browse files Browse the repository at this point in the history
simplify nag regex to be more resilient to upstream changes
  • Loading branch information
ironicbadger authored Dec 31, 2022
2 parents aa24757 + ab27cbe commit 34e4d00
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 34e4d00

Please sign in to comment.