Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ module github.com/theforeman/ygg_worker
go 1.19

require (
git.sr.ht/~spc/go-log v0.1.1
github.com/google/uuid v1.6.0
github.com/redhatinsights/yggdrasil v0.4.2
github.com/redhatinsights/yggdrasil_v0 v0.0.0-20210811162724-41397343c25b
github.com/subpop/go-log v0.1.2
google.golang.org/grpc v1.58.3
)

require (
git.sr.ht/~spc/go-log v0.1.1 // indirect
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not seems as correct change. This "old" go module should not be required indirectly. If it was required indirectly, then it would cause problems anyway. I guess that you also have to update version of yggdrasil, where git.sr.ht/~spc/go-log v0.1.1 is not required.

github.com/godbus/dbus/v5 v5.1.0 // indirect
github.com/golang/protobuf v1.5.3 // indirect
golang.org/x/net v0.23.0 // indirect
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/redhatinsights/yggdrasil v0.4.2 h1:onXUovgkFn0bJr5aVPVcP7Xv6NcCLO7EbmvWxya5+yQ=
github.com/redhatinsights/yggdrasil v0.4.2/go.mod h1:zQKq1GVJq0Kn05pKN7CQmYbhUtqGe4WSduBUdTKlXqs=
github.com/subpop/go-log v0.1.2 h1:NgbZR6frmeDtC+96d+UxOkt4X/JxO626fokwL56Dff0=
github.com/subpop/go-log v0.1.2/go.mod h1:uAEovif98swmWm/8qYGrzGFahUIRQ/KwlBUpJuoOdds=
golang.org/x/net v0.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs=
golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg=
golang.org/x/sys v0.22.0 h1:RI27ohtqKCnwULzJLqkv897zojh5/DwS/ENaMzUOaWI=
Expand Down
2 changes: 1 addition & 1 deletion src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"syscall"
"time"

"git.sr.ht/~spc/go-log"
"github.com/subpop/go-log"

"github.com/redhatinsights/yggdrasil/worker"
pb "github.com/redhatinsights/yggdrasil_v0/protocol"
Expand Down
2 changes: 1 addition & 1 deletion src/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"sync"
"syscall"

"git.sr.ht/~spc/go-log"
"github.com/google/uuid"
"github.com/subpop/go-log"
)

const preStartErrorExitCode = 254
Expand Down
2 changes: 1 addition & 1 deletion src/runner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"syscall"
"testing"

"git.sr.ht/~spc/go-log"
"github.com/subpop/go-log"
)

func TestDispatch(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion src/update_aggregator.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"encoding/json"
"time"

"git.sr.ht/~spc/go-log"
"github.com/google/uuid"
"github.com/subpop/go-log"
)

const CountThreshold = 32
Expand Down
Loading