File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -129,9 +129,6 @@ linters:
129
129
- linters :
130
130
- staticcheck
131
131
text : S1017
132
- - linters :
133
- - staticcheck
134
- text : S1039
135
132
- linters :
136
133
- staticcheck
137
134
text : S1040
Original file line number Diff line number Diff line change 4
4
package vsphere
5
5
6
6
import (
7
- "fmt"
8
7
"testing"
9
8
10
9
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
@@ -39,24 +38,24 @@ func TestAccResourceVSphereVmClass_vgpu(t *testing.T) {
39
38
}
40
39
41
40
func testAccVSphereVmClassConfig () string {
42
- return fmt . Sprintf ( `
41
+ return `
43
42
resource "vsphere_virtual_machine_class" "vm_class_1" {
44
43
name = "test-class-11"
45
44
cpus = 4
46
45
memory = 4096
47
46
memory_reservation = 100
48
47
}
49
- ` )
48
+ `
50
49
}
51
50
52
51
func testAccVSphereVmClassConfig_vgpu () string {
53
- return fmt . Sprintf ( `
52
+ return `
54
53
resource "vsphere_virtual_machine_class" "vm_class_1" {
55
54
name = "test-class-11"
56
55
cpus = 4
57
56
memory = 4096
58
57
memory_reservation = 100
59
58
vgpu_devices = [ "mockup-vmiop" ]
60
59
}
61
- ` )
60
+ `
62
61
}
You can’t perform that action at this time.
0 commit comments