Skip to content

Commit

Permalink
removing vars (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
melonrush13 authored and frodopwns committed Oct 10, 2019
1 parent b39f1be commit b5e7984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/sqlserver_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ func (r *SqlServerReconciler) verifyExternal(instance *azurev1.SqlServer) error
Location: location,
}

serv, err := sdkClient.GetServer(groupName, name)
serv, err := sdkClient.GetServer()
if err != nil {
azerr := errhelp.NewAzureError(err).(*errhelp.AzureError)
if azerr.Type != errhelp.ResourceNotFound {
Expand Down

0 comments on commit b5e7984

Please sign in to comment.