From b74b26bcfa5912b8af366dc4683cd4a065084054 Mon Sep 17 00:00:00 2001 From: Peter McAtominey Date: Thu, 17 Aug 2017 16:37:51 +0100 Subject: [PATCH] backend: alias azurerm to azure --- backend/init/init.go | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/backend/init/init.go b/backend/init/init.go index 3db130a49..ddebee6c8 100644 --- a/backend/init/init.go +++ b/backend/init/init.go @@ -35,13 +35,14 @@ func init() { // Our hardcoded backends. We don't need to acquire a lock here // since init() code is serial and can't spawn goroutines. backends = map[string]func() backend.Backend{ - "atlas": func() backend.Backend { return &backendatlas.Backend{} }, - "local": func() backend.Backend { return &backendlocal.Local{} }, - "consul": func() backend.Backend { return backendconsul.New() }, - "inmem": func() backend.Backend { return backendinmem.New() }, - "swift": func() backend.Backend { return backendSwift.New() }, - "s3": func() backend.Backend { return backendS3.New() }, - "azure": func() backend.Backend { return backendAzure.New() }, + "atlas": func() backend.Backend { return &backendatlas.Backend{} }, + "local": func() backend.Backend { return &backendlocal.Local{} }, + "consul": func() backend.Backend { return backendconsul.New() }, + "inmem": func() backend.Backend { return backendinmem.New() }, + "swift": func() backend.Backend { return backendSwift.New() }, + "s3": func() backend.Backend { return backendS3.New() }, + "azure": func() backend.Backend { return backendAzure.New() }, + "azurerm": func() backend.Backend { return backendAzure.New() }, } // Add the legacy remote backends that haven't yet been convertd to