Skip to content

Commit

Permalink
Updated func name
Browse files Browse the repository at this point in the history
  • Loading branch information
jbristowe committed Nov 15, 2020
1 parent f6af8a3 commit 76528cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions octopusdeploy/accounts.go
Expand Up @@ -17,7 +17,7 @@ func fetchAndReadAccount(ctx context.Context, d *schema.ResourceData, m interfac

accountResource := account.(*octopusdeploy.AccountResource)

flattenAccountResource(ctx, d, accountResource)
setAccountResource(ctx, d, accountResource)
return accountResource, nil
}

Expand All @@ -30,7 +30,7 @@ func resourceAccountCreateCommon(ctx context.Context, d *schema.ResourceData, m

createdAccountResource := createdAccount.(*octopusdeploy.AccountResource)

flattenAccountResource(ctx, d, createdAccountResource)
setAccountResource(ctx, d, createdAccountResource)
return nil
}

Expand All @@ -45,7 +45,7 @@ func resourceAccountUpdateCommon(ctx context.Context, d *schema.ResourceData, m

updatedAccountResource := updatedAccount.(*octopusdeploy.AccountResource)

flattenAccountResource(ctx, d, updatedAccountResource)
setAccountResource(ctx, d, updatedAccountResource)
return nil
}

Expand Down

0 comments on commit 76528cc

Please sign in to comment.