Tidy notify.Message.Instance #1

Closed
opened 2022-12-10 16:09:57 +00:00 by Paul Stemmet · 0 comments
Owner

keepalived sends INSTANCE fields without removing any quotes from the instance declaration in a keepalived.conf file.

We should clean this up, as it complicates matching.

Current:

vrrp_instance my_instance { ... }   ==> "my_instance"
vrrp_instance 'my.instance' { ... } ==> "'my.instance'"
vrrp_instance "my.instance" { ... } ==> ""my.instance""

Expected:

vrrp_instance my_instance { ... }   ==> my_instance
vrrp_instance 'my.instance' { ... } ==> my.instance
vrrp_instance "my.instance" { ... } ==> my.instance
keepalived sends INSTANCE fields without removing any quotes from the instance declaration in a keepalived.conf file. We should clean this up, as it complicates matching. Current: ``` vrrp_instance my_instance { ... } ==> "my_instance" vrrp_instance 'my.instance' { ... } ==> "'my.instance'" vrrp_instance "my.instance" { ... } ==> ""my.instance"" ``` Expected: ``` vrrp_instance my_instance { ... } ==> my_instance vrrp_instance 'my.instance' { ... } ==> my.instance vrrp_instance "my.instance" { ... } ==> my.instance ```
Paul Stemmet self-assigned this 2022-12-10 16:09:57 +00:00
Paul Stemmet added the
enhancement
label 2022-12-10 16:12:17 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: luxolus/kdnotify#1
No description provided.