From cf4eea8d2cfda4f468615df2a8d90b86a7bb7fa5 Mon Sep 17 00:00:00 2001 From: Colin Gagnaire Date: Tue, 18 Dec 2018 14:25:22 +0100 Subject: [PATCH] fix ibm cloud open tickets regexp --- cloud/ibm/softlayer/mode/opentickets.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/ibm/softlayer/mode/opentickets.pm b/cloud/ibm/softlayer/mode/opentickets.pm index 57c904ea0..0bb9b4a76 100644 --- a/cloud/ibm/softlayer/mode/opentickets.pm +++ b/cloud/ibm/softlayer/mode/opentickets.pm @@ -161,7 +161,7 @@ sub manage_selection { $groups_hash{$group->{id}->{content}} = $group->{name}->{content}; if (defined($self->{option_results}->{ticket_group}) && $self->{option_results}->{ticket_group} ne '' && - $group->{name}->{content} =~ /$self->{option_results}->{ticket_group}/) { + $group->{name}->{content} =~ /^$self->{option_results}->{ticket_group}$/) { $group_id = $group->{id}->{content}; } }