Skip to content

Commit a5a142a

Browse files
aldevvbtipling
authored andcommitted
fix lint warnings
1 parent 6f0d882 commit a5a142a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pkg/connector/api_token.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ func (o *apiTokenResourceType) List(
9292
PerPage: pToken.Size,
9393
},
9494
})
95+
if err != nil {
96+
return nil, "", nil, err
97+
}
9598

9699
restApiRateLimit, err := extractRateLimitData(resp)
97100
if err != nil {

pkg/connector/org.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ func organizationResource(
4444
parentResourceID *v2.ResourceId,
4545
syncSecrets bool,
4646
) (*v2.Resource, error) {
47-
4847
annotations := []proto.Message{
4948
&v2.ExternalLink{Url: org.GetHTMLURL()},
5049
&v2.V1Identifier{Id: fmt.Sprintf("org:%d", org.GetID())},

0 commit comments

Comments
 (0)