Skip to content

Commit

Permalink
Fix invalid usage of new method
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelFR authored Apr 24, 2023
1 parent 3da2413 commit 1b2e0ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mqdockerup",
"version": "0.16.0",
"version": "0.16.1",
"description": "A Node.js application that pushes information about running Docker containers to an MQTT server.",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/services/DockerService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default class DockerService {
tag: string
): Promise<{ registry: any; response: any }> {
try {
const url = getDockerHubUrl(imageName, tag);
const url = DockerService.getDockerHubUrl(imageName, tag);
const response = await axios.get(url);
if (response.status === 200) {
return { registry: "Docker Hub", response };
Expand Down

0 comments on commit 1b2e0ba

Please sign in to comment.