Skip to content

Commit 08b4598

Browse files
committed
Fix linter
1 parent cb1ab68 commit 08b4598

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

internal/locality/dsf.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ package locality
33
import "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
44

55
// SuppressSDKNullAssignment aims to remove apply inconsistency on SDKv2 based resources
6-
func SuppressSDKNullAssignment(k, old, new string, d *schema.ResourceData) bool {
7-
return (new == "" && old != "") || (new != "" && old == "")
6+
func SuppressSDKNullAssignment(k, oldValue, newValue string, d *schema.ResourceData) bool {
7+
return (newValue == "" && oldValue != "") || (newValue != "" && oldValue == "")
88
}

internal/provider/provider_mux_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ func TestMuxServer(t *testing.T) {
2727
}
2828

2929
muxServer, err := tf5muxserver.NewMuxServer(ctx, providers...)
30-
3130
if err != nil {
3231
return nil, err
3332
}

0 commit comments

Comments
 (0)