Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bareos/bareos-webui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Bergkemper <frank.bergkemper@bareos.com>2016-02-26 14:14:58 +0300
committerFrank Bergkemper <frank.bergkemper@bareos.com>2016-02-26 15:47:20 +0300
commit27520f9576cfe1287f1e3d3d0bac99d4c062c6c8 (patch)
tree47848d0650080b23aae08373a1efd676a15c5f2d
parente3641ae30a0092d05627f3eb374c8e6ace3c73bf (diff)
API 2: Exception message
As we make use of API 2 compressed mode by default, director version 15.2.2 or greater is needed.
-rw-r--r--vendor/Bareos/library/Bareos/BSock/BareosBSock.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/Bareos/library/Bareos/BSock/BareosBSock.php b/vendor/Bareos/library/Bareos/BSock/BareosBSock.php
index cf337f1..ab9ff89 100644
--- a/vendor/Bareos/library/Bareos/BSock/BareosBSock.php
+++ b/vendor/Bareos/library/Bareos/BSock/BareosBSock.php
@@ -852,7 +852,7 @@ class BareosBSock implements BareosBSockInterface
$debug = self::receive_message();
if(!preg_match('/result/', $debug)) {
throw new \Exception("Error: API 2 not available on director.
- Please upgrade to version 15.2.1 or greater and/or compile with jansson support.");
+ Please upgrade to version 15.2.2 or greater and/or compile with jansson support.");
}
}
catch(\Exception $e) {