diff --git a/services/containerservice/mgmt/2017-01-31/containerservice/models.go b/services/containerservice/mgmt/2017-01-31/containerservice/models.go index 93c9f5171103..56edbb028322 100644 --- a/services/containerservice/mgmt/2017-01-31/containerservice/models.go +++ b/services/containerservice/mgmt/2017-01-31/containerservice/models.go @@ -191,8 +191,8 @@ func (future *ContainerServicesCreateOrUpdateFutureType) Result(client Container return } -// ContainerServicesDeleteFutureType an abstraction for monitoring and retrieving the results of a long-running -// operation. +// ContainerServicesDeleteFutureType an abstraction for monitoring and retrieving the results of a +// long-running operation. type ContainerServicesDeleteFutureType struct { azure.Future } @@ -386,8 +386,11 @@ func (page ListResultPage) Values() []ContainerService { } // Creates a new instance of the ListResultPage type. -func NewListResultPage(getNextPage func(context.Context, ListResult) (ListResult, error)) ListResultPage { - return ListResultPage{fn: getNextPage} +func NewListResultPage(cur ListResult, getNextPage func(context.Context, ListResult) (ListResult, error)) ListResultPage { + return ListResultPage{ + fn: getNextPage, + lr: cur, + } } // MasterProfile profile for the container service master.