Skip to content

Commit

Permalink
update error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhang3 committed Dec 16, 2024
1 parent d3ee084 commit 771f765
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func (r WorkspaceNetworkOutboundRulePrivateEndpoint) Create() sdk.ResourceFunc {

resId, err := resourceids.ParseAzureResourceID(model.ServiceResourceId)
if err != nil {
return fmt.Errorf(" parsing resource ID: %+v", err)
return err
}

supportType := false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func (r WorkspaceNetworkOutboundPrivateEndpointResource) Exists(ctx context.Cont

resp, err := client.MachineLearning.ManagedNetwork.SettingsRuleGet(ctx, *id)
if err != nil {
return nil, fmt.Errorf("retrieving Machine Learning Workspace Outbound Rule Private Endpoint %q: %+v", state.ID, err)
return nil, fmt.Errorf("retrieving %s: %+v", state.ID, err)
}

return pointer.To(resp.Model.Properties != nil), nil
Expand Down

0 comments on commit 771f765

Please sign in to comment.