Permalink
Browse files

conf tool: fix

  • Loading branch information...
1 parent 3714178 commit 52b9bdebc49b4ac39b5fdcac0f15d8b4a4e8c1a2 @sni committed Apr 14, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −0 MANIFEST
  2. +1 −1 plugins/plugins-available/conf/lib/Monitoring/Config/Object/Parent.pm
View
@@ -320,6 +320,7 @@ support/fcgid_env.sh
support/htpasswd
support/menu_local.conf
support/thruk.init
+support/thruk.logrotate
support/thruk.spec
support/thruk_local.conf.example
t/01app.t
@@ -155,7 +155,7 @@ sub get_primary_name {
my $full = shift || 0;
my $conf = shift || $self->{'conf'};
- return if $self->is_template();
+ return if defined $conf->{'register'} and $conf->{'register'} == 0;
return $conf->{$self->{'primary_key'}} unless ref $self->{'primary_key'};

0 comments on commit 52b9bde

Please sign in to comment.