@Override protected Void execute(TagImageCmd command) { WebTarget webTarget = getBaseResource().path("/images/" + command.getImageId() + "/tag") .queryParam("repo", command.getRepository()).queryParam("tag", command.getTag()); webTarget = booleanQueryParam(webTarget, "force", command.hasForceEnabled()); LOGGER.trace("POST: {}", webTarget); webTarget.request().post(null).close(); return null; }
@Override protected Void execute(TagImageCmd command) { WebTarget webTarget = getBaseResource().path("/images/" + command.getImageId() + "/tag") .queryParam("repo", command.getRepository()).queryParam("tag", command.getTag()); webTarget = booleanQueryParam(webTarget, "force", command.hasForceEnabled()); LOGGER.trace("POST: {}", webTarget); webTarget.request().post(null); return null; }
@Override protected Void execute(TagImageCmd command) { WebTarget webTarget = getBaseResource().path("/images/" + command.getImageId() + "/tag") .queryParam("repo", command.getRepository()).queryParam("tag", command.getTag()); webTarget = booleanQueryParam(webTarget, "force", command.hasForceEnabled()); LOGGER.trace("POST: {}", webTarget); webTarget.request().post(null).close(); return null; }
@Override protected Void execute(TagImageCmd command) { WebTarget webTarget = getBaseResource().path("/images/" + command.getImageId() + "/tag") .queryParam("repo", command.getRepository()).queryParam("tag", command.getTag()); webTarget = booleanQueryParam(webTarget, "force", command.hasForceEnabled()); LOGGER.trace("POST: {}", webTarget); webTarget.request().post(null); return null; }