Project

General

Profile

Bug #22400

Updated by Tom Clegg 5 days ago

We have 

 <pre> 
 func (instanceSet *ec2InstanceSet) updateSpotPrices(instances []cloud.Instance) { 
 ... 
                 if page.NextToken == nil { 
                         break 
                 } 
 </pre> 

 but the NextToken documentation is 

 <pre> 
         // The token to include in another request to get the next page of items. This                                                                                             
         // value is an empty string ( "" ) or null when there are no more items to return.                                                                                         
         NextToken *string 
 </pre> 

 The "web docs":https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSpotPriceHistory.html also mention this. 

Back