Skip to content

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-Triller committed May 23, 2021
1 parent a718755 commit 746bdcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions matchbox/resource_profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func resourceProfileRead(ctx context.Context, d *schema.ResourceData, meta inter

if profile.IgnitionId != "" {
ignition, err := client.Ignition.IgnitionGet(ctx, &serverpb.IgnitionGetRequest{
Name: profile.IgnitionId,
Name: profile.IgnitionId,
})
if err != nil {
// resource doesn't exist or is corrupted and needs creating
Expand All @@ -195,7 +195,7 @@ func resourceProfileRead(ctx context.Context, d *schema.ResourceData, meta inter

if profile.GenericId != "" {
ignition, err := client.Generic.GenericGet(ctx, &serverpb.GenericGetRequest{
Name: profile.GenericId,
Name: profile.GenericId,
})
if err != nil {
// resource doesn't exist or is corrupted and needs creating
Expand Down

0 comments on commit 746bdcf

Please sign in to comment.