Skip to content

Commit 5159471

Browse files
committed
lint
1 parent a0d4529 commit 5159471

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

internal/services/instance/server.go

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -279,12 +279,8 @@ func ResourceServer() *schema.Resource {
279279
Elem: &schema.Schema{
280280
Type: schema.TypeString,
281281
},
282-
DiffSuppressFunc: func(k, old, new string, d *schema.ResourceData) bool {
283-
if k == "user_data.ssh-host-fingerprints" {
284-
return true
285-
}
286-
287-
return false
282+
DiffSuppressFunc: func(k, _, _ string, _ *schema.ResourceData) bool {
283+
return k == "user_data.ssh-host-fingerprints"
288284
},
289285
},
290286
"private_network": {

0 commit comments

Comments
 (0)