Skip to content

Commit 5d578ed

Browse files
committed
Ignore false positive linter
1 parent c8d6545 commit 5d578ed

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

GNUmakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ website:
5656
.PHONY: build test testacc vet fmt fmtcheck errcheck test-compile website
5757

5858
tfproviderlint:
59-
go tool tfproviderlint -R014=false -AT001.ignored-filename-suffixes=_data_source_test.go ./...
59+
go tool tfproviderlint -R014=false -S013=false -AT001.ignored-filename-suffixes=_data_source_test.go ./...
6060

6161
tfproviderdocs:
6262
go tool tfproviderdocs check -provider-name scaleway -enable-contents-check

internal/services/block/snapshot.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,11 @@ func ResourceSnapshot() *schema.Resource {
3939
return map[string]*schema.Schema{
4040
"snapshot_id": {
4141
Type: schema.TypeString,
42-
Computed: true,
4342
RequiredForImport: true,
4443
Description: "Snapshot ID",
4544
},
4645
"zone": {
4746
Type: schema.TypeString,
48-
Computed: true,
4947
RequiredForImport: true,
5048
Description: "Zone ID",
5149
},

internal/services/block/volume.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,11 @@ func ResourceVolume() *schema.Resource {
3232
return map[string]*schema.Schema{
3333
"volume_id": {
3434
Type: schema.TypeString,
35-
Computed: true,
3635
RequiredForImport: true,
3736
Description: "Volume ID",
3837
},
3938
"zone": {
4039
Type: schema.TypeString,
41-
Computed: true,
4240
RequiredForImport: true,
4341
Description: "Zone",
4442
},

0 commit comments

Comments
 (0)