CoreApi: indentation
This commit is contained in:
parent
f486fee03d
commit
a362ef4e42
|
@ -181,10 +181,10 @@ constants
|
||||||
|
|
||||||
$objects = $this->getDirectorObjects('Command', 'CheckCommand', 'CheckCommands', array(
|
$objects = $this->getDirectorObjects('Command', 'CheckCommand', 'CheckCommands', array(
|
||||||
'arguments' => 'arguments',
|
'arguments' => 'arguments',
|
||||||
// 'env' => 'env',
|
// 'env' => 'env',
|
||||||
'timeout' => 'timeout',
|
'timeout' => 'timeout',
|
||||||
'command' => 'command',
|
'command' => 'command',
|
||||||
'vars' => 'vars'
|
'vars' => 'vars'
|
||||||
));
|
));
|
||||||
foreach ($objects as $obj) {
|
foreach ($objects as $obj) {
|
||||||
$obj->methods_execute = 'PluginCheck';
|
$obj->methods_execute = 'PluginCheck';
|
||||||
|
@ -288,14 +288,14 @@ constants
|
||||||
$start = microtime(true);
|
$start = microtime(true);
|
||||||
$data = $config->getFileContents();
|
$data = $config->getFileContents();
|
||||||
$deployment = DirectorDeploymentLog::create(array(
|
$deployment = DirectorDeploymentLog::create(array(
|
||||||
// 'config_id' => $config->id,
|
// 'config_id' => $config->id,
|
||||||
// 'peer_identity' => $endpoint->object_name,
|
// 'peer_identity' => $endpoint->object_name,
|
||||||
'peer_identity' => $this->client->getPeerIdentity(),
|
'peer_identity' => $this->client->getPeerIdentity(),
|
||||||
'start_time' => date('Y-m-d H:i:s'),
|
'start_time' => date('Y-m-d H:i:s'),
|
||||||
'config_checksum' => $config->getChecksum()
|
'config_checksum' => $config->getChecksum()
|
||||||
// 'triggered_by' => Util::getUsername(),
|
// 'triggered_by' => Util::getUsername(),
|
||||||
/// 'username' => Util::getUsername(),
|
// 'username' => Util::getUsername(),
|
||||||
// 'module_name' => $moduleName,
|
// 'module_name' => $moduleName,
|
||||||
));
|
));
|
||||||
|
|
||||||
$this->assertModuleExists($moduleName);
|
$this->assertModuleExists($moduleName);
|
||||||
|
|
Loading…
Reference in New Issue