Skip to content

Commit ccdb7c7

Browse files
authored
chore: remove snake case (#347)
Changed parameter names in `WorkstationDriver.CreateDisk` from `snake_case` to `camelCase` for consistency with Go naming conventions. Signed-off-by: Ryan Johnson <ryan.johnson@broadcom.com>
1 parent 3a497dc commit ccdb7c7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

builder/vmware/common/driver_workstation.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ func (d *WorkstationDriver) CompactDisk(diskPath string) error {
116116

117117
// CreateDisk creates a virtual machine disk based on the output path, size,
118118
// adapter type, and type ID.
119-
func (d *WorkstationDriver) CreateDisk(output string, size string, adapter_type string, type_id string) error {
120-
cmd := exec.Command(d.VdiskManagerPath, "-c", "-s", size, "-a", adapter_type, "-t", type_id, output)
119+
func (d *WorkstationDriver) CreateDisk(output string, size string, adapterType string, typeId string) error {
120+
cmd := exec.Command(d.VdiskManagerPath, "-c", "-s", size, "-a", adapterType, "-t", typeId, output)
121121
if _, _, err := runAndLog(cmd); err != nil {
122122
return err
123123
}

0 commit comments

Comments
 (0)