Skip to content

Commit

Permalink
Update azure/services/virtualmachineimages/images.go
Browse files Browse the repository at this point in the history
Co-authored-by: Cecile Robert-Michon <[email protected]>
  • Loading branch information
mboersma and Cecile Robert-Michon authored May 28, 2022
1 parent 1b123f4 commit b8550e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure/services/virtualmachineimages/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func (s *Service) getDefaultImageSKUIDAndVersion(ctx context.Context, location,
}
sort.Sort(sort.Reverse(sort.StringSlice(names)))

// Pick the first one whose version matches.
// Pick the first one whose k8s version matches.
version := ""
id := fmt.Sprintf("%d%d.%d", v.Major, v.Minor, v.Patch)
for _, name := range names {
Expand Down

0 comments on commit b8550e0

Please sign in to comment.