Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mbfrahry committed Jun 4, 2024
1 parent d3083b8 commit bcb5302
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ func resourceVPNServerConfigurationPolicyGroupUpdate(d *pluginsdk.ResourceData,
defer locks.UnlockByID(vpnServerConfigurationId.ID())

existing, err := client.ConfigurationPolicyGroupsGet(ctx, *id)
if err != nil {
return fmt.Errorf("retrieving %s: %+v", id, err)
}

if existing.Model == nil {
return fmt.Errorf("retrieving %s: `model` was nil", id)
Expand Down

0 comments on commit bcb5302

Please sign in to comment.