Skip to content

Commit

Permalink
chore: Delete logs that print password
Browse files Browse the repository at this point in the history
  • Loading branch information
youngmn committed Jan 7, 2025
1 parent e9d2b3e commit c8a9072
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/service/mongodb/mongodb_users.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,6 @@ func (r *mongodbUsersResource) Create(ctx context.Context, req resource.CreateRe
CloudMongoDbUserList: convertToAddOrChangeParameters(plan.MongoDbUserSet),
}

tflog.Info(ctx, "CreateMongodbUserList reqParams="+common.MarshalUncheckedString(reqParams))

response, err := r.config.Client.Vmongodb.V2Api.AddCloudMongoDbUserList(reqParams)
if err != nil {
resp.Diagnostics.AddError("CREATING ERROR", err.Error())
Expand Down Expand Up @@ -437,7 +435,6 @@ func addOrChangeUserList(ctx context.Context, config *conn.ProviderConfig, id *s
CloudMongoDbInstanceNo: id,
CloudMongoDbUserList: changeParameters,
}
tflog.Info(ctx, "ChangeCloudMongoDbUserList reqParams="+common.MarshalUncheckedString(reqParams))

response, err := config.Client.Vmongodb.V2Api.ChangeCloudMongoDbUserList(reqParams)
if err != nil {
Expand All @@ -461,7 +458,6 @@ func addOrChangeUserList(ctx context.Context, config *conn.ProviderConfig, id *s
CloudMongoDbInstanceNo: id,
CloudMongoDbUserList: addParameters,
}
tflog.Info(ctx, "AddCloudMongoDbUserList reqParams="+common.MarshalUncheckedString(reqParams))

response, err := config.Client.Vmongodb.V2Api.AddCloudMongoDbUserList(reqParams)
if err != nil {
Expand Down

0 comments on commit c8a9072

Please sign in to comment.