Revert switch case

It is correct, because the line in DockerClient is
                        $tmp['registry'] = $tmp['registry'] ?? $this->getTemplateValue($image, 'Registry');

And if I switch that, then god knows what else has to change in addition
This commit is contained in:
Squidly271
2019-03-25 21:46:07 -04:00
committed by GitHub
parent d658e525af
commit d2981ee243

View File

@@ -57,7 +57,7 @@ foreach ($containers as $ct) {
$webGui = html_entity_decode($info['url']);
$support = html_entity_decode($info['Support']);
$project = html_entity_decode($info['Project']);
$registry = html_entity_decode($info['Registry']);
$registry = html_entity_decode($info['registry']);
$menu[] = sprintf("addDockerContainerContext('%s','%s','%s',%s,%s,%s,%s,'%s','%s','%s','%s','%s','%s');", addslashes($name), addslashes($ct['ImageId']), addslashes($template), $running, $paused, $updateStatus, $is_autostart, addslashes($webGui), $shell, $id, addslashes($support), addslashes($project),addslashes($registry));
$docker[] = "docker.push({name:'$name',id:'$id',state:$running,pause:$paused,update:'$updateStatus'});";
$shape = $running ? ($paused ? 'pause' : 'play') : 'square';