[DockerHubBridge] Fix bridge name (#1994)

This commit is contained in:
Joseph 2021-02-22 15:03:04 +00:00 committed by GitHub
parent 0521ba5873
commit 687eb728d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
<?php <?php
class DockerhubBridge extends BridgeAbstract { class DockerHubBridge extends BridgeAbstract {
const NAME = 'Dockerhub Bridge'; const NAME = 'Docker Hub Bridge';
const URI = 'https://hub.docker.com'; const URI = 'https://hub.docker.com';
const DESCRIPTION = 'Returns new images for a container'; const DESCRIPTION = 'Returns new images for a container';
const MAINTAINER = 'VerifiedJoseph'; const MAINTAINER = 'VerifiedJoseph';
@ -64,7 +64,7 @@ EOD;
public function getName() { public function getName() {
if ($this->getInput('user')) { if ($this->getInput('user')) {
return $this->getRepo() . ' - Dockerhub'; return $this->getRepo() . ' - Docker Hub';
} }
return parent::getName(); return parent::getName();
@ -100,7 +100,6 @@ EOD;
<td><a href="{$layersUrl}">{$id}</a></td> <td><a href="{$layersUrl}">{$id}</a></td>
<td>{$image->os}/{$image->architecture}</td> <td>{$image->os}/{$image->architecture}</td>
</tr> </tr>
<!--<a href="{$layersUrl}">{$id}</a> {$image->os}/{$image->architecture}-->
EOD; EOD;
} }