Commit a1a53d6d authored by Leo Gordon's avatar Leo Gordon
Browse files

sqlite databases do not have a host name, so nothing to display here

parent 6c89bc44
......@@ -30,7 +30,7 @@ $Author: lg4 $
=head1 VERSION
$Revision: 1.5 $
$Revision: 1.6 $
=cut
......@@ -158,7 +158,7 @@ sub _add_hive_details {
my ($self) = @_;
if($self->config()->{DisplayDetails}) {
my $dbc = $self->dba()->dbc();
my $label = sprintf('%s@%s', $dbc->dbname, $dbc->host);
my $label = sprintf('%s@%s', $dbc->dbname, $dbc->host || '-');
$self->graph()->add_node(
'details',
label => $label,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment