From 9a33a38f2fedab616acbdee98b9dbc6397329681 Mon Sep 17 00:00:00 2001 From: jo Date: Tue, 25 Jun 2024 16:13:45 +0200 Subject: [PATCH] refactor: rename actionutils.AppendNext --- internal/cmd/server/create.go | 2 +- internal/cmd/volume/create.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/cmd/server/create.go b/internal/cmd/server/create.go index 45646e8a..e30f5485 100644 --- a/internal/cmd/server/create.go +++ b/internal/cmd/server/create.go @@ -109,7 +109,7 @@ var CreateCmd = base.CreateCmd{ return nil, nil, err } - if err := s.WaitForActions(cmd, s, actionutils.AppendNextActions(result.Action, result.NextActions)...); err != nil { + if err := s.WaitForActions(cmd, s, actionutils.AppendNext(result.Action, result.NextActions)...); err != nil { return nil, nil, err } diff --git a/internal/cmd/volume/create.go b/internal/cmd/volume/create.go index b0d5f595..3eeef94e 100644 --- a/internal/cmd/volume/create.go +++ b/internal/cmd/volume/create.go @@ -98,7 +98,7 @@ var CreateCmd = base.CreateCmd{ return nil, nil, err } - if err := s.WaitForActions(cmd, s, actionutils.AppendNextActions(result.Action, result.NextActions)...); err != nil { + if err := s.WaitForActions(cmd, s, actionutils.AppendNext(result.Action, result.NextActions)...); err != nil { return nil, nil, err } cmd.Printf("Volume %d created\n", result.Volume.ID)