1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 05:19:39 +02:00

refactor(api): introduce libhttp usage (#2263)

This commit is contained in:
Anthony Lapenna 2018-09-10 12:01:38 +02:00 committed by GitHub
parent 42f5aec6a5
commit b24891a6bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
102 changed files with 244 additions and 473 deletions

View file

@ -6,10 +6,10 @@ import (
"strings"
dockertypes "github.com/docker/docker/api/types"
httperror "github.com/portainer/libhttp/error"
"github.com/portainer/libhttp/request"
"github.com/portainer/libhttp/response"
"github.com/portainer/portainer"
httperror "github.com/portainer/portainer/http/error"
"github.com/portainer/portainer/http/request"
"github.com/portainer/portainer/http/response"
)
// Acts on a passed in token UUID to restart the docker service