Skip to content

Commit e00a21e

Browse files
committed
Fix issues reported by linter
1 parent e6d9553 commit e00a21e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/service/rds/proxy.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ func resourceProxyCreate(ctx context.Context, d *schema.ResourceData, meta any)
170170
input.DebugLogging = aws.Bool(v.(bool))
171171
}
172172

173-
if v, ok := d.GetOk("default_auth_scheme"); ok && v.(string) != "" {
173+
if v, ok := d.GetOk("default_auth_scheme"); ok {
174174
input.DefaultAuthScheme = types.DefaultAuthScheme(v.(string))
175175
}
176176

@@ -253,7 +253,7 @@ func resourceProxyUpdate(ctx context.Context, d *schema.ResourceData, meta any)
253253
input.Auth = []types.UserAuthConfig{}
254254
}
255255

256-
if v, ok := d.GetOk("default_auth_scheme"); ok && v.(string) != "" {
256+
if v, ok := d.GetOk("default_auth_scheme"); ok {
257257
input.DefaultAuthScheme = types.DefaultAuthScheme(v.(string))
258258
}
259259

0 commit comments

Comments
 (0)