Skip to content

Commit

Permalink
Upgrade to log v2 (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredoconnell authored Feb 28, 2023
1 parent c0d063a commit 15a9ab6
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 14 deletions.
2 changes: 1 addition & 1 deletion cli_plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package podman
import (
"io"

"go.arcalot.io/log"
log "go.arcalot.io/log/v2"
"go.flow.arcalot.io/podmandeployer/internal/cliwrapper"
)

Expand Down
2 changes: 1 addition & 1 deletion connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"

"github.com/docker/docker/api/types/container"
"go.arcalot.io/log"
log "go.arcalot.io/log/v2"
"go.flow.arcalot.io/deployer"
args "go.flow.arcalot.io/podmandeployer/internal/argsbuilder"
"go.flow.arcalot.io/podmandeployer/internal/cliwrapper"
Expand Down
2 changes: 1 addition & 1 deletion connector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"go.flow.arcalot.io/podmandeployer/internal/util"

"go.arcalot.io/assert"
"go.arcalot.io/log"
log "go.arcalot.io/log/v2"
"go.flow.arcalot.io/deployer"
"go.flow.arcalot.io/podmandeployer/tests"
)
Expand Down
2 changes: 1 addition & 1 deletion factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package podman
import (
"fmt"

"go.arcalot.io/log"
log "go.arcalot.io/log/v2"
"go.flow.arcalot.io/deployer"
"go.flow.arcalot.io/pluginsdk/schema"
"go.flow.arcalot.io/podmandeployer/internal/cliwrapper"
Expand Down
8 changes: 5 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ require (
github.com/joho/godotenv v1.4.0
go.arcalot.io/assert v1.3.0
go.arcalot.io/lang v1.0.0
go.arcalot.io/log v1.2.0
go.flow.arcalot.io/deployer v0.0.0-20221115141549-bf5292d4261a
go.flow.arcalot.io/deployer v0.1.0
)

require (
github.com/docker/go-units v0.5.0 // indirect
github.com/stretchr/testify v1.8.1 // indirect
)

require go.flow.arcalot.io/pluginsdk v0.0.0-20221025073845-be663ec22293
require (
go.arcalot.io/log/v2 v2.0.0
go.flow.arcalot.io/pluginsdk v0.0.0-20221025073845-be663ec22293
)
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ go.arcalot.io/assert v1.3.0 h1:+uQex4s9gezATpTyFxUY5dlAcrwI1Me5fSmdcydGHho=
go.arcalot.io/assert v1.3.0/go.mod h1:Xy3ScX0p9IMY89gdsgexOKxnmDr0nGHG9dV7p8Uxg7w=
go.arcalot.io/lang v1.0.0 h1:mgDaieT4wWdZTnR4V7+/pgYRmzfU7VZZgIzHccuxAbY=
go.arcalot.io/lang v1.0.0/go.mod h1:ALqfYEhAzC2WoGLaycmJoNJd5NmkR7V1PSKp/c5D278=
go.arcalot.io/log v1.2.0 h1:EOfehJoycnpYXOBwYribLzfYb9y2YKVNWJ0kCzqnJSw=
go.arcalot.io/log v1.2.0/go.mod h1:g/oBcBi33s6GxFyiEdbnKtEPBg62t2Uc9cdF3fSuuyg=
go.flow.arcalot.io/deployer v0.0.0-20221115141549-bf5292d4261a h1:/c58nkQUUqucLHd6L0AGtEWfTj3+kHyu0CHO9GyZKCE=
go.flow.arcalot.io/deployer v0.0.0-20221115141549-bf5292d4261a/go.mod h1:zOWRsLPQ+3J0v0Js1iMSKP5vo0JbUruqvYx7d3zBWwY=
go.arcalot.io/log/v2 v2.0.0 h1:mbmsWDVBXZNWrDzUh5JLzeGCQ59kTuMFs+pyfJGc1hk=
go.arcalot.io/log/v2 v2.0.0/go.mod h1:1V8jnFIIGwh2CtcGkHNOmy1nCo7LbazQNkUcnKYNMn4=
go.flow.arcalot.io/deployer v0.1.0 h1:5lcCN6rQD2dp2hkaW6dInaBoyKzWt8/kzJnDjeRAoLo=
go.flow.arcalot.io/deployer v0.1.0/go.mod h1:xVSB+svHVPmX6yTZIU0K4U/pDbs+rezsWa69vYA+E6k=
go.flow.arcalot.io/pluginsdk v0.0.0-20221025073845-be663ec22293 h1:tuCGnU+3L8vZzt3FJKz0q2tX7W2eGvEUzRQzhPM1tgI=
go.flow.arcalot.io/pluginsdk v0.0.0-20221025073845-be663ec22293/go.mod h1:iblQl4Bx9gteegDXLD4WvU7S4Au0vkK6yKTc9mX00ls=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
Expand Down
2 changes: 1 addition & 1 deletion internal/cliwrapper/cliwrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"os/exec"
"strings"

"go.arcalot.io/log"
log "go.arcalot.io/log/v2"
"go.flow.arcalot.io/podmandeployer/internal/util"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/cliwrapper/cliwrapper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os/exec"
"testing"

"go.arcalot.io/log"
log "go.arcalot.io/log/v2"

"go.arcalot.io/assert"
"go.flow.arcalot.io/podmandeployer/tests"
Expand Down
2 changes: 1 addition & 1 deletion tests/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"fmt"
"github.com/joho/godotenv"
"go.arcalot.io/log"
log "go.arcalot.io/log/v2"
"os"
"os/exec"
"regexp"
Expand Down

0 comments on commit 15a9ab6

Please sign in to comment.