Skip to content

Commit

Permalink
fix: Fix golangci-lint gosimple error
Browse files Browse the repository at this point in the history
  • Loading branch information
youngmn committed Jan 2, 2025
1 parent 3a87255 commit cb10ae8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/service/mongodb/mongodb_users.go
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ func addOrChangeUserList(ctx context.Context, config *conn.ProviderConfig, id *s
}
}

if found == false {
if !found {
reqParams := &vmongodb.AddCloudMongoDbUserListRequest{
RegionCode: &config.RegionCode,
CloudMongoDbInstanceNo: id,
Expand Down Expand Up @@ -484,7 +484,7 @@ func deleteUserList(ctx context.Context, config *conn.ProviderConfig, id *string
}
}

if found == false {
if !found {
reqParams := &vmongodb.DeleteCloudMongoDbUserListRequest{
RegionCode: &config.RegionCode,
CloudMongoDbInstanceNo: id,
Expand Down

0 comments on commit cb10ae8

Please sign in to comment.