incus-osd/providers: Remove old migration logic

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
This commit is contained in:
Stéphane Graber
2025-10-29 16:30:20 -04:00
parent b8a7e05e2f
commit b3e905ab36

View File

@@ -10,11 +10,6 @@ import (
// Load gets a specific provider and initializes it with the provider configuration.
func Load(ctx context.Context, s *state.State) (Provider, error) {
// NOTE: Migration logic, remove after a few releases.
if s.System.Provider.Config.Name == "github" {
s.System.Provider.Config.Name = "images"
}
var p Provider
switch s.System.Provider.Config.Name {