Skip to content

Commit

Permalink
allow overriding default azure gallery name (#1669)
Browse files Browse the repository at this point in the history
  • Loading branch information
eyberg authored Dec 6, 2024
1 parent 788a6d6 commit e5b1847
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions provider/azure/azure_image.go
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,11 @@ func (a *Azure) createGalleryImage(ctx context.Context, location string, imageNa
}

func (a *Azure) galleryName() string {
galleryName := os.Getenv("AZURE_GALLERY_NAME")
if galleryName != "" {
return galleryName
}

return "nanos_gallery"
}

Expand Down

0 comments on commit e5b1847

Please sign in to comment.