Skip to content

Commit

Permalink
outscale_oapi: remove un-unsed newObjects function
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Jutteau <[email protected]>
  • Loading branch information
jerome-jutteau committed Jul 26, 2022
1 parent 0099677 commit 6ca7685
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions internal/providers/outscale_oapi/outscale_oapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6ca7685

Please sign in to comment.