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

Commit 34e4d00

Browse files
authored
Merge pull request #18 from aroberts/master
simplify nag regex to be more resilient to upstream changes
2 parents aa24757 + ab27cbe commit 34e4d00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/remove-nag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
- name: Modify line in file to remove nag message
55
replace:
66
path: /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
7-
regexp: 'res === null \|\| res === undefined \|\| !res \|\| res[\s\n]*\.data\.status\.toLowerCase\(\) !== .active.'
7+
regexp: 'res[\s\n]*\.data\.status\.toLowerCase\(\) !== .active.'
88
replace: "false"
99
backup: yes
1010
notify: restart pveproxy

0 commit comments

Comments
 (0)