Skip to content

Commit 075b98f

Browse files
authored
fix(aiplatform): not to set trafficSplit when undeploying model (GoogleCloudPlatform#8475)
1 parent 4dff519 commit 075b98f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

aiplatform/src/main/java/aiplatform/UndeployModelSample.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ static void undeployModelSample(String project, String endpointId, String modelI
6363
// Traffic percentage values must add up to 100
6464
// Leave dictionary empty if endpoint should not accept any traffic
6565
Map<String, Integer> trafficSplit = new HashMap<>();
66-
trafficSplit.put("0", 100);
6766

6867
OperationFuture<UndeployModelResponse, UndeployModelOperationMetadata> operation =
6968
endpointServiceClient.undeployModelAsync(

0 commit comments

Comments
 (0)