Skip to content

Commit

Permalink
Removed unnecessary type qualifier, removed SetId
Browse files Browse the repository at this point in the history
  • Loading branch information
jbristowe committed Nov 27, 2020
1 parent 909d11e commit 6c8d6c7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions octopusdeploy/schema_token_account.go
Expand Up @@ -57,7 +57,7 @@ func getTokenAccountSchema() map[string]*schema.Schema {
Computed: true,
Type: schema.TypeString,
},
"name": &schema.Schema{
"name": {
Required: true,
Type: schema.TypeString,
ValidateFunc: validation.StringIsNotEmpty,
Expand Down Expand Up @@ -95,6 +95,4 @@ func setTokenAccount(ctx context.Context, d *schema.ResourceData, account *octop
d.Set("tenanted_deployment_participation", account.GetTenantedDeploymentMode())
d.Set("tenants", account.GetTenantIDs())
d.Set("tenant_tags", account.GetTenantTags())

d.SetId(account.GetID())
}

0 comments on commit 6c8d6c7

Please sign in to comment.