summaryrefslogtreecommitdiffstats
path: root/vespaclient/src/perl/lib/Yahoo/Vespa/ContentNodeSelection.pm
diff options
context:
space:
mode:
Diffstat (limited to 'vespaclient/src/perl/lib/Yahoo/Vespa/ContentNodeSelection.pm')
-rw-r--r--vespaclient/src/perl/lib/Yahoo/Vespa/ContentNodeSelection.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/vespaclient/src/perl/lib/Yahoo/Vespa/ContentNodeSelection.pm b/vespaclient/src/perl/lib/Yahoo/Vespa/ContentNodeSelection.pm
index d15fd4a75df..d23471c8910 100644
--- a/vespaclient/src/perl/lib/Yahoo/Vespa/ContentNodeSelection.pm
+++ b/vespaclient/src/perl/lib/Yahoo/Vespa/ContentNodeSelection.pm
@@ -127,6 +127,10 @@ sub validateCommandLineArguments { # (WantedState)
return 1;
}
+sub hasClusterSelection {
+ return defined $CLUSTER;
+}
+
############## Utility functions - Not intended for external use #############
sub validType { # (ServiceType) -> Bool