Skip to content

Commit

Permalink
lxd: Update instance types URL
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Jun 20, 2024
1 parent 014f812 commit 5ea4d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lxd/instance_instance_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func instanceRefreshTypesTask(d *Daemon) (task.Func, task.Schedule) {
func instanceRefreshTypes(ctx context.Context, d *Daemon) error {
// Attempt to download the new definitions
downloadParse := func(filename string, target interface{}) error {
url := fmt.Sprintf("https://images.linuxcontainers.org/meta/instance-types/%s", filename)
url := fmt.Sprintf("https://images.lxd.canonical.com/meta/instance-types/%s", filename)

httpClient, err := util.HTTPClient("", d.proxy)
if err != nil {
Expand Down

0 comments on commit 5ea4d68

Please sign in to comment.