Skip to content

Commit

Permalink
Removing comments
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulomeeCb committed Mar 2, 2024
1 parent 961dcae commit c19f7e5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions internal/datasources/scopes.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,6 @@ func (s *Scopes) Read(ctx context.Context, req datasource.ReadRequest, resp *dat
//the array of scopes is listed together under one uid
stateScopes := state.Scopes
newScope := providerschema.NewScopeData(&scope, collectionSet)

Check failure on line 147 in internal/datasources/scopes.go

View workflow job for this annotation

GitHub Actions / golangci-lint

G601: Implicit memory aliasing in for loop. (gosec)
//newScope := providerschema.ScopeData{
// Name: types.StringValue(*scope.Name),
// Uid: types.StringValue(*scope.Uid),
// Collections: collectionSet,
//}

stateScopes = append(stateScopes, *newScope)

Expand Down

0 comments on commit c19f7e5

Please sign in to comment.