diff --git a/services/resources/mgmt/2015-01-01/locks/models.go b/services/resources/mgmt/2015-01-01/locks/models.go index 3787a3750a23..94981644f24f 100644 --- a/services/resources/mgmt/2015-01-01/locks/models.go +++ b/services/resources/mgmt/2015-01-01/locks/models.go @@ -181,8 +181,11 @@ func (page ManagementLockListResultPage) Values() []ManagementLockObject { } // Creates a new instance of the ManagementLockListResultPage type. -func NewManagementLockListResultPage(getNextPage func(context.Context, ManagementLockListResult) (ManagementLockListResult, error)) ManagementLockListResultPage { - return ManagementLockListResultPage{fn: getNextPage} +func NewManagementLockListResultPage(cur ManagementLockListResult, getNextPage func(context.Context, ManagementLockListResult) (ManagementLockListResult, error)) ManagementLockListResultPage { + return ManagementLockListResultPage{ + fn: getNextPage, + mllr: cur, + } } // ManagementLockObject management lock information.