Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
API 2: compact mode
Browse files Browse the repository at this point in the history
In 15.2.2 the compact mode in API 2 was introduced on the director side
and as the webui makes use of this mode the minimum requirement is
a working director equal or greater than 15.2.2, otherwise webui won't
connect to the director.
  • Loading branch information
fbergkemper committed Jan 20, 2016
1 parent a166558 commit e889326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/Bareos/library/Bareos/BSock/BareosBSock.php
Expand Up @@ -852,7 +852,7 @@ public function send_command($cmd, $api=0, $jobid=null)
$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) {
Expand Down

0 comments on commit e889326

Please sign in to comment.