From 6ca76855a17c4baf6b4f37fb3b0d64165e6093cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Jutteau?= Date: Mon, 25 Jul 2022 14:01:39 +0200 Subject: [PATCH] outscale_oapi: remove un-unsed newObjects function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Jutteau --- internal/providers/outscale_oapi/outscale_oapi.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/internal/providers/outscale_oapi/outscale_oapi.go b/internal/providers/outscale_oapi/outscale_oapi.go index a596edf..eb13f65 100644 --- a/internal/providers/outscale_oapi/outscale_oapi.go +++ b/internal/providers/outscale_oapi/outscale_oapi.go @@ -121,14 +121,6 @@ func (provider *OutscaleOAPI) AuthTest() error { return err } -func newObjects() Objects { - objects := make(Objects) - for _, typeName := range Types() { - objects[typeName] = make([]Object, 0) - } - return objects -} - func (provider *OutscaleOAPI) ReadObjects(typeName string) []Object { switch typeName { case typeVm: