Skip to content

Commit

Permalink
Merge pull request #166 from ARGOeu/devel
Browse files Browse the repository at this point in the history
Version bump
  • Loading branch information
eimamagi authored Nov 6, 2023
2 parents 5ef3a6a + 9ba4344 commit 3e4ed60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
4 changes: 3 additions & 1 deletion argo-ncg.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Summary: ARGO Nagios config generator
Name: argo-ncg
Version: 0.4.17
Version: 0.4.18
Release: 1%{?dist}
License: ASL 2.0
Group: Network/Monitoring
Expand Down Expand Up @@ -96,6 +96,8 @@ if [ -f /etc/init.d/ncg ] ; then
fi

%changelog
* Mon Nov 06 2023 Emir Imamagic <[email protected]> - 0.4.17-1
- Version bump
* Mon Oct 03 2022 Emir Imamagic <[email protected]> - 0.4.15-1
- Version bump
* Thu Sep 01 2022 Emir Imamagic <[email protected]> - 0.4.14-1
Expand Down
15 changes: 0 additions & 15 deletions src/modules/NCG/LocalMetricsAttrs/Active.pm
Original file line number Diff line number Diff line change
Expand Up @@ -382,21 +382,6 @@ sub _analyzeURLs {
$self->{SITEDB}->hostAttribute($hostname, 'BROKER_PORT', $cdmiurl->port);};
}

if ($self->{SITEDB}->hasService($hostname, "webdav")) {
unless ($self->{SITEDB}->hostAttribute($hostname, "ARGO_WEBDAV_OPS_URL")) {
$self->{SITEDB}->hostAttribute($hostname, "ARGO_WEBDAV_OPS_URL", $self->{SITEDB}->hostAttribute($hostname, 'webdav_URL'));
}
}
if ($self->{SITEDB}->hasService($hostname, "XRootD")) {
unless ($self->{SITEDB}->hostAttribute($hostname, "ARGO_XROOTD_OPS_URL")) {
if ( $attr = $self->{SITEDB}->hostAttribute($hostname, "XROOTD_URL") ) {
$self->{SITEDB}->hostAttribute($hostname, "ARGO_XROOTD_OPS_URL", $attr);
} else {
$self->{SITEDB}->hostAttribute($hostname, "ARGO_XROOTD_OPS_URL", $self->{SITEDB}->hostAttribute($hostname, 'XRootD_URL'));
}
}
}

}

sub _setDefaultPorts {
Expand Down

0 comments on commit 3e4ed60

Please sign in to comment.