Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
Resolve merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecruz91 committed Sep 15, 2022
1 parent adbb96e commit e425f78
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion vm/internal/handler/sizes.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ func (h *Handler) VolumesSize(ctx echo.Context) error {
return err
}

m := backend.GetVolumesSize(ctx.Request().Context(), cli, "*")
m, err := backend.GetVolumesSize(ctx.Request().Context(), cli, "*")
if err != nil {
return err
}

return ctx.JSON(http.StatusOK, m)
}
4 changes: 2 additions & 2 deletions vm/internal/handler/volumes.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net/http"
"sync"

"github.com/docker/docker/api/types/filters
"github.com/docker/docker/api/types/filters"
"github.com/labstack/echo"
)

Expand All @@ -28,7 +28,7 @@ func (h *Handler) Volumes(ctx echo.Context) error {
return err
}

v, err := cli.VolumeList(ctx.Request().Context(), filters.NewArgs())
v, err := cli.VolumeList(ctxReq, filters.NewArgs())
if err != nil {
return err
}
Expand Down

0 comments on commit e425f78

Please sign in to comment.