Skip to content

Commit

Permalink
chore: bump envconfig version to 1.4.0
Browse files Browse the repository at this point in the history
We were using a very old version (Jan 2017), and the new one includes
fixes like kelseyhightower/envconfig#119 ,
which would avoid workarounds in PRs like #1143.
  • Loading branch information
Ivan Mirić committed Oct 24, 2019
1 parent 8ec232a commit c5df4dd
Show file tree
Hide file tree
Showing 7 changed files with 117 additions and 44 deletions.
6 changes: 3 additions & 3 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,7 @@
[[constraint]]
branch = "master"
name = "github.com/andybalholm/brotli"

[[constraint]]
name = "github.com/kelseyhightower/envconfig"
version = "^1.4.0"
2 changes: 1 addition & 1 deletion cmd/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func TestConfigEnv(t *testing.T) {
"false": func(c Config) { assert.Equal(t, null.BoolFrom(false), c.NoUsageReport) },
},
{"Out", "K6_OUT"}: {
"": func(c Config) { assert.Equal(t, []string{""}, c.Out) },
"": func(c Config) { assert.Equal(t, []string{}, c.Out) },
"influxdb": func(c Config) { assert.Equal(t, []string{"influxdb"}, c.Out) },
},
}
Expand Down
2 changes: 1 addition & 1 deletion vendor/github.com/kelseyhightower/envconfig/env_os.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/github.com/kelseyhightower/envconfig/env_syscall.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

125 changes: 94 additions & 31 deletions vendor/github.com/kelseyhightower/envconfig/envconfig.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 13 additions & 7 deletions vendor/github.com/kelseyhightower/envconfig/usage.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c5df4dd

Please sign in to comment.