Skip to content

Commit caf022d

Browse files
committed
Don't send Administrator password if empty (DimensionDataResearch/packer-plugins-ddcloud#3).
1 parent d2c2677 commit caf022d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compute/servers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ type ServerDeploymentConfiguration struct {
9090
Name string `json:"name"`
9191
Description string `json:"description"`
9292
ImageID string `json:"imageId"`
93-
AdministratorPassword string `json:"administratorPassword"`
93+
AdministratorPassword string `json:"administratorPassword,omitempty"`
9494
CPU VirtualMachineCPU `json:"cpu"`
9595
MemoryGB int `json:"memoryGb,omitempty"`
9696
SCSIControllers VirtualMachineSCSIControllers `json:"scsiController"`

0 commit comments

Comments
 (0)