Skip to content

Commit

Permalink
Reformat getV1HTTPPredictorURI
Browse files Browse the repository at this point in the history
  • Loading branch information
ruivieira committed Jun 24, 2024
1 parent fdd1f5c commit f454419
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/main/java/org/kie/trustyai/CommandLineArgs.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,7 @@ public String getV1HTTPPredictorURI(String modelName) {

public String getV2HTTPPredictorURI(String modelName) {

return "http://" +
predictorHost +
"/v2/models/" +
modelName +
"/infer";
return "http://" + predictorHost + "/v2/models/" + modelName + "/infer";
}

}

0 comments on commit f454419

Please sign in to comment.