Skip to content

Commit 45747bd

Browse files
bpghsnprsd
authored andcommitted
linter is funny
Signed-off-by: Pavel Boldyrev <[email protected]>
1 parent a955ece commit 45747bd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

proxmoxtf/provider/provider.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ func providerConfigure(ctx context.Context, d *schema.ResourceData) (interface{}
8080
csrfPreventionToken = v.(string)
8181
}
8282

83+
//nolint:staticcheck
8384
if v, ok := d.GetOkExists(mkProviderAPIToken); ok {
8485
apiToken = v.(string)
8586
}
@@ -88,11 +89,12 @@ func providerConfigure(ctx context.Context, d *schema.ResourceData) (interface{}
8889
otp = v.(string)
8990
}
9091

91-
///nolint:staticcheck
92+
//nolint:staticcheck
9293
if v, ok := d.GetOkExists(mkProviderUsername); ok {
9394
username = v.(string)
9495
}
9596

97+
//nolint:staticcheck
9698
if v, ok := d.GetOkExists(mkProviderPassword); ok {
9799
password = v.(string)
98100
}

0 commit comments

Comments
 (0)