Fix moc changes
This commit is contained in:
Родитель
c103c07dfe
Коммит
4acfa4080d
|
@ -396,8 +396,8 @@ func (c *client) getWssdVirtualMachineOSConfiguration(s *compute.OSProfile) (*ws
|
|||
return &osconfig, nil
|
||||
}
|
||||
|
||||
func (c *client) getWssdVirtualMachineGuestAgentConfiguration(s *compute.GuestAgentProfile) (*wssdcloudcompute.GuestAgentConfiguration, error) {
|
||||
gac := &wssdcloudcompute.GuestAgentConfiguration{}
|
||||
func (c *client) getWssdVirtualMachineGuestAgentConfiguration(s *compute.GuestAgentProfile) (*wssdcommon.GuestAgentConfiguration, error) {
|
||||
gac := &wssdcommon.GuestAgentConfiguration{}
|
||||
|
||||
if s == nil {
|
||||
return gac, nil
|
||||
|
@ -553,7 +553,7 @@ func (c *client) getVirtualMachineNetworkProfile(n *wssdcloudcompute.NetworkConf
|
|||
return np
|
||||
}
|
||||
|
||||
func (c *client) getVirtualMachineGuestAgentProfile(ga *wssdcloudcompute.GuestAgentConfiguration) *compute.GuestAgentProfile {
|
||||
func (c *client) getVirtualMachineGuestAgentProfile(ga *wssdcommon.GuestAgentConfiguration) *compute.GuestAgentProfile {
|
||||
if ga == nil {
|
||||
return nil
|
||||
}
|
||||
|
|
|
@ -444,8 +444,8 @@ func (c *client) getWssdVirtualMachineScaleSetSecurityConfiguration(vmp *compute
|
|||
return wssdsecurity, nil
|
||||
}
|
||||
|
||||
func (c *client) getWssdVirtualMachineScaleSetGuestAgentConfiguration(vmp *compute.VirtualMachineScaleSetVMProfile) (*wssdcloudcompute.GuestAgentConfiguration, error) {
|
||||
wssdguestagent := &wssdcloudcompute.GuestAgentConfiguration{}
|
||||
func (c *client) getWssdVirtualMachineScaleSetGuestAgentConfiguration(vmp *compute.VirtualMachineScaleSetVMProfile) (*wssdcommon.GuestAgentConfiguration, error) {
|
||||
wssdguestagent := &wssdcommon.GuestAgentConfiguration{}
|
||||
if vmp.GuestAgentProfile != nil && vmp.GuestAgentProfile.Enabled != nil {
|
||||
wssdguestagent.Enabled = *vmp.GuestAgentProfile.Enabled
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче