Skip to content

Commit

Permalink
fix: adding previously created PrivateEndpoint network parameter in M…
Browse files Browse the repository at this point in the history
…odel deploy helper method

PiperOrigin-RevId: 521809909
  • Loading branch information
vertex-sdk-bot authored and copybara-github committed Apr 4, 2023
1 parent 09535ad commit 3e1b206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/cloud/aiplatform/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -3464,7 +3464,7 @@ def _deploy(
endpoint.resource_name,
self,
endpoint._gca_resource.traffic_split,
network=network,
network=network or endpoint.network,
deployed_model_display_name=deployed_model_display_name,
traffic_percentage=traffic_percentage,
traffic_split=traffic_split,
Expand Down

0 comments on commit 3e1b206

Please sign in to comment.