Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
mgyucht committed Feb 21, 2024
1 parent a4d3ca5 commit 2e385e8
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions catalog/resource_connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,8 @@ func ResourceConnection() common.Resource {

if d.HasChange("owner") {
_, err = w.Connections.Update(ctx, catalog.UpdateConnection{
<<<<<<< HEAD
NameArg: updateConnectionRequest.NameArg,
Owner: updateConnectionRequest.Owner,
=======
Name: updateConnectionRequest.Name,
Owner: updateConnectionRequest.Owner,
>>>>>>> main
})
if err != nil {
return err
Expand All @@ -140,13 +135,8 @@ func ResourceConnection() common.Resource {
// Rollback
old, new := d.GetChange("owner")
_, rollbackErr := w.Connections.Update(ctx, catalog.UpdateConnection{
<<<<<<< HEAD
NameArg: updateConnectionRequest.NameArg,
Owner: old.(string),
=======
Name: updateConnectionRequest.Name,
Owner: old.(string),
>>>>>>> main
})
if rollbackErr != nil {
return common.OwnerRollbackError(err, rollbackErr, old.(string), new.(string))
Expand Down

0 comments on commit 2e385e8

Please sign in to comment.