Bug 34838: Tidy
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit fff166679b)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
0dc1aaf09d
commit
7472c619a0
|
|
@ -2073,21 +2073,25 @@ sub strings_map {
|
|||
}
|
||||
|
||||
my $status_string =
|
||||
( $self->status && exists $status_graph_union->{ $self->status } && defined $status_graph_union->{ $self->status }->{name} )
|
||||
? $status_graph_union->{ $self->status }->{name}
|
||||
: $self->status;
|
||||
( $self->status
|
||||
&& exists $status_graph_union->{ $self->status }
|
||||
&& defined $status_graph_union->{ $self->status }->{name} )
|
||||
? $status_graph_union->{ $self->status }->{name}
|
||||
: $self->status;
|
||||
|
||||
my $status_code =
|
||||
( $self->status && exists $status_graph_union->{ $self->status } && defined $status_graph_union->{ $self->status }->{id} )
|
||||
? $status_graph_union->{ $self->status }->{id}
|
||||
: $self->status;
|
||||
( $self->status
|
||||
&& exists $status_graph_union->{ $self->status }
|
||||
&& defined $status_graph_union->{ $self->status }->{id} )
|
||||
? $status_graph_union->{ $self->status }->{id}
|
||||
: $self->status;
|
||||
|
||||
my $strings = {
|
||||
status => {
|
||||
backend => $self->backend, # the backend identifier
|
||||
str => $status_string, # the status description, taken from the status graph
|
||||
code => $status_code, # the status id, taken from the status graph
|
||||
type => 'ill_status', # fixed type
|
||||
backend => $self->backend, # the backend identifier
|
||||
str => $status_string, # the status description, taken from the status graph
|
||||
code => $status_code, # the status id, taken from the status graph
|
||||
type => 'ill_status', # fixed type
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue