func instanceName()

in cmd/utils/vmss.go [214:219]


func instanceName(vm *armcompute.VirtualMachineScaleSetVM) string {
	if vm.Properties.OSProfile == nil || vm.Properties.OSProfile.ComputerName == nil {
		return to.String(vm.Name)
	}
	return strings.ToLower(to.String(vm.Properties.OSProfile.ComputerName))
}