mirror of
https://github.com/outbackdingo/incus-os.git
synced 2026-01-28 10:19:17 +00:00
incus-osd/providers: Remove old migration logic
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user