Skip to content

Commit

Permalink
use complete image id
Browse files Browse the repository at this point in the history
Signed-off-by: Mattias Andersson <[email protected]>
  • Loading branch information
Mattias Andersson authored and rohanKanojia committed Mar 9, 2024
1 parent ecfe12a commit 556a8a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ public String getImageId(String name) throws DockerAccessException {
return null;
}
JsonObject imageDetails = JsonFactory.newJsonObject(response.getBody());
return imageDetails.get("Id").getAsString().substring(0, 12);
return imageDetails.get("Id").getAsString();
}

@Override
Expand Down

0 comments on commit 556a8a6

Please sign in to comment.