Skip to content

Commit

Permalink
refactor: rename actionutils.AppendNext
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola committed Jun 25, 2024
1 parent c036cbb commit 9a33a38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/cmd/server/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/volume/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9a33a38

Please sign in to comment.