Navigation Menu

Skip to content

Commit

Permalink
refactor: move container into pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
simskij committed Jul 21, 2019
1 parent e109a7a commit 74ce927
Show file tree
Hide file tree
Showing 19 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions actions/actions_suite_test.go
Expand Up @@ -6,8 +6,8 @@ import (
"time"

"github.com/containrrr/watchtower/actions"
"github.com/containrrr/watchtower/container"
"github.com/containrrr/watchtower/container/mocks"
"github.com/containrrr/watchtower/pkg/container"
"github.com/containrrr/watchtower/pkg/container/mocks"
"github.com/docker/docker/api/types"

t "github.com/containrrr/watchtower/pkg/types"
Expand Down
2 changes: 1 addition & 1 deletion actions/check.go
Expand Up @@ -11,7 +11,7 @@ import (

log "github.com/sirupsen/logrus"

"github.com/containrrr/watchtower/container"
"github.com/containrrr/watchtower/pkg/container"
)

// CheckForMultipleWatchtowerInstances will ensure that there are not multiple instances of the
Expand Down
2 changes: 1 addition & 1 deletion actions/update.go
Expand Up @@ -4,7 +4,7 @@ import (
"math/rand"
"time"

"github.com/containrrr/watchtower/container"
"github.com/containrrr/watchtower/pkg/container"
t "github.com/containrrr/watchtower/pkg/types"
log "github.com/sirupsen/logrus"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/root.go
Expand Up @@ -8,7 +8,7 @@ import (
"time"

"github.com/containrrr/watchtower/actions"
"github.com/containrrr/watchtower/container"
"github.com/containrrr/watchtower/pkg/container"
"github.com/containrrr/watchtower/internal/flags"
"github.com/containrrr/watchtower/notifications"
t "github.com/containrrr/watchtower/pkg/types"
Expand Down
File renamed without changes.
File renamed without changes.
@@ -1,7 +1,7 @@
package container

import (
"github.com/containrrr/watchtower/container/mocks"
"github.com/containrrr/watchtower/pkg/container/mocks"
"github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/container"
cli "github.com/docker/docker/client"
Expand Down
File renamed without changes.
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

"github.com/stretchr/testify/assert"
"github.com/containrrr/watchtower/container/mocks"
"github.com/containrrr/watchtower/pkg/container/mocks"
)

func TestWatchtowerContainersFilter(t *testing.T) {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 74ce927

Please sign in to comment.