We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afa9130 commit ab6ce91Copy full SHA for ab6ce91
internal/namespaces/inference/v1beta1/custom_deployment.go
@@ -96,7 +96,7 @@ func deploymentCreateBuilder(c *core.Command) *core.Command {
96
publicEndpoint = nil
97
}
98
privateNetwork := &inference.EndpointSpecPrivateNetwork{}
99
- if endpoint.EndpointSpec == nil {
+ if endpoint.EndpointSpec.PrivateNetwork == nil {
100
privateNetwork = nil
101
} else {
102
privateNetwork.PrivateNetworkID = endpoint.PrivateNetwork.PrivateNetworkID
0 commit comments