Skip to content

Commit

Permalink
set default tag to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
ozlerhakan committed Sep 15, 2017
1 parent edc73aa commit 314522f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/kodcu/rapid/path/Image.java
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public Response deleteImage(@PathParam("id") String id,
@POST
@Path("create")
public ResponseFrame createImage(@QueryParam("fromImage") String fromImage,
@QueryParam("tag") String tag) {
@DefaultValue("latest") @QueryParam("tag") String tag) {

WebTarget target = resource().path(IMAGES).path("create")
.queryParam("fromImage", fromImage)
Expand Down

0 comments on commit 314522f

Please sign in to comment.