From 87b0c75ead95d133851ab9055d513203c394a506 Mon Sep 17 00:00:00 2001 From: Stephen Hoekstra Date: Thu, 7 Jan 2021 15:15:31 +0100 Subject: [PATCH] Run gofmt (#645) Signed-off-by: Stephen Hoekstra --- github/resource_github_branch_protection.go | 4 ++-- github/util_v4_branch_protection.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/github/resource_github_branch_protection.go b/github/resource_github_branch_protection.go index b98dddea1c..5e74306830 100644 --- a/github/resource_github_branch_protection.go +++ b/github/resource_github_branch_protection.go @@ -76,8 +76,8 @@ func resourceGithubBranchProtection() *schema.Resource { }, }, PROTECTION_REQUIRES_STATUS_CHECKS: { - Type: schema.TypeList, - Optional: true, + Type: schema.TypeList, + Optional: true, DiffSuppressFunc: statusChecksDiffSuppression, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ diff --git a/github/util_v4_branch_protection.go b/github/util_v4_branch_protection.go index ad2587098b..ad4f880fea 100644 --- a/github/util_v4_branch_protection.go +++ b/github/util_v4_branch_protection.go @@ -22,7 +22,7 @@ type DismissalActorTypes struct { type PushActorTypes struct { Actor struct { - App Actor `graphql:"... on App"` + App Actor `graphql:"... on App"` Team Actor `graphql:"... on Team"` User Actor `graphql:"... on User"` }