Skip to content

Commit

Permalink
bump version to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
cenkalti committed Oct 5, 2020
1 parent 8c867e5 commit 9645d64
Show file tree
Hide file tree
Showing 15 changed files with 39 additions and 39 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ or download the latest binary from [releases page](https://github.com/cenkalti/d
Usage
-----

See [example config file](https://github.com/cenkalti/dalga/blob/v3/config.toml) for configuration options.
See [example config file](https://github.com/cenkalti/dalga/blob/v4/config.toml) for configuration options.
TOML and YAML file formats are supported.
Configuration values can also be set via environment variables with `DALGA_` prefix.

Expand Down
6 changes: 3 additions & 3 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"strings"
"time"

"github.com/cenkalti/dalga/v3/internal/jobmanager"
"github.com/cenkalti/dalga/v3/internal/server"
"github.com/cenkalti/dalga/v3/internal/table"
"github.com/cenkalti/dalga/v4/internal/jobmanager"
"github.com/cenkalti/dalga/v4/internal/server"
"github.com/cenkalti/dalga/v4/internal/table"
"github.com/senseyeio/duration"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/dalga/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"strings"
"syscall"

"github.com/cenkalti/dalga/v3"
"github.com/cenkalti/dalga/v3/internal/log"
"github.com/cenkalti/dalga/v4"
"github.com/cenkalti/dalga/v4/internal/log"
"github.com/knadh/koanf"
"github.com/knadh/koanf/parsers/toml"
"github.com/knadh/koanf/parsers/yaml"
Expand Down
14 changes: 7 additions & 7 deletions dalga.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ import (
"net"
"time"

"github.com/cenkalti/dalga/v3/internal/clock"
"github.com/cenkalti/dalga/v3/internal/instance"
"github.com/cenkalti/dalga/v3/internal/jobmanager"
"github.com/cenkalti/dalga/v3/internal/retry"
"github.com/cenkalti/dalga/v3/internal/scheduler"
"github.com/cenkalti/dalga/v3/internal/server"
"github.com/cenkalti/dalga/v3/internal/table"
"github.com/cenkalti/dalga/v4/internal/clock"
"github.com/cenkalti/dalga/v4/internal/instance"
"github.com/cenkalti/dalga/v4/internal/jobmanager"
"github.com/cenkalti/dalga/v4/internal/retry"
"github.com/cenkalti/dalga/v4/internal/scheduler"
"github.com/cenkalti/dalga/v4/internal/server"
"github.com/cenkalti/dalga/v4/internal/table"
)

// Dalga is a job scheduler.
Expand Down
2 changes: 1 addition & 1 deletion dalga_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"testing"
"time"

"github.com/cenkalti/dalga/v3/internal/log"
"github.com/cenkalti/dalga/v4/internal/log"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/cenkalti/dalga/v3
module github.com/cenkalti/dalga/v4

go 1.13

Expand Down
2 changes: 1 addition & 1 deletion internal/instance/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"math/rand"
"time"

"github.com/cenkalti/dalga/v3/internal/table"
"github.com/cenkalti/dalga/v4/internal/table"
)

type Instance struct {
Expand Down
6 changes: 3 additions & 3 deletions internal/jobmanager/jobmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"errors"
"time"

"github.com/cenkalti/dalga/v3/internal/log"
"github.com/cenkalti/dalga/v3/internal/scheduler"
"github.com/cenkalti/dalga/v3/internal/table"
"github.com/cenkalti/dalga/v4/internal/log"
"github.com/cenkalti/dalga/v4/internal/scheduler"
"github.com/cenkalti/dalga/v4/internal/table"
"github.com/senseyeio/duration"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/retry/retry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"
"time"

"github.com/cenkalti/dalga/v3/internal/retry"
"github.com/cenkalti/dalga/v4/internal/retry"
)

type Retry = retry.Retry
Expand Down
8 changes: 4 additions & 4 deletions internal/scheduler/benchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
"testing"
"time"

"github.com/cenkalti/dalga/v3/internal/instance"
"github.com/cenkalti/dalga/v3/internal/log"
"github.com/cenkalti/dalga/v3/internal/retry"
"github.com/cenkalti/dalga/v3/internal/table"
"github.com/cenkalti/dalga/v4/internal/instance"
"github.com/cenkalti/dalga/v4/internal/log"
"github.com/cenkalti/dalga/v4/internal/retry"
"github.com/cenkalti/dalga/v4/internal/table"
"github.com/senseyeio/duration"
)

Expand Down
6 changes: 3 additions & 3 deletions internal/scheduler/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"sync/atomic"
"time"

"github.com/cenkalti/dalga/v3/internal/log"
"github.com/cenkalti/dalga/v3/internal/retry"
"github.com/cenkalti/dalga/v3/internal/table"
"github.com/cenkalti/dalga/v4/internal/log"
"github.com/cenkalti/dalga/v4/internal/retry"
"github.com/cenkalti/dalga/v4/internal/table"
"github.com/go-sql-driver/mysql"
)

Expand Down
8 changes: 4 additions & 4 deletions internal/scheduler/scheduler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
"testing"
"time"

"github.com/cenkalti/dalga/v3/internal/instance"
"github.com/cenkalti/dalga/v3/internal/retry"
"github.com/cenkalti/dalga/v3/internal/scheduler"
"github.com/cenkalti/dalga/v3/internal/table"
"github.com/cenkalti/dalga/v4/internal/instance"
"github.com/cenkalti/dalga/v4/internal/retry"
"github.com/cenkalti/dalga/v4/internal/scheduler"
"github.com/cenkalti/dalga/v4/internal/table"
"github.com/senseyeio/duration"
)

Expand Down
6 changes: 3 additions & 3 deletions internal/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"time"

"github.com/bmizerany/pat"
"github.com/cenkalti/dalga/v3/internal/jobmanager"
"github.com/cenkalti/dalga/v3/internal/log"
"github.com/cenkalti/dalga/v3/internal/table"
"github.com/cenkalti/dalga/v4/internal/jobmanager"
"github.com/cenkalti/dalga/v4/internal/log"
"github.com/cenkalti/dalga/v4/internal/table"
"github.com/senseyeio/duration"
)

Expand Down
6 changes: 3 additions & 3 deletions internal/table/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"strconv"
"time"

"github.com/cenkalti/dalga/v3/internal/clock"
"github.com/cenkalti/dalga/v3/internal/log"
"github.com/cenkalti/dalga/v3/internal/retry"
"github.com/cenkalti/dalga/v4/internal/clock"
"github.com/cenkalti/dalga/v4/internal/log"
"github.com/cenkalti/dalga/v4/internal/retry"
my "github.com/go-mysql/errors"
"github.com/go-sql-driver/mysql"
"github.com/senseyeio/duration"
Expand Down
4 changes: 2 additions & 2 deletions internal/table/table_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"testing"
"time"

"github.com/cenkalti/dalga/v3/internal/clock"
"github.com/cenkalti/dalga/v3/internal/table"
"github.com/cenkalti/dalga/v4/internal/clock"
"github.com/cenkalti/dalga/v4/internal/table"
"github.com/senseyeio/duration"
)

Expand Down

0 comments on commit 9645d64

Please sign in to comment.