Skip to content

Commit 6ccbfd2

Browse files
author
Michael Gunkoff
committed
unit test updated
1 parent d7a6099 commit 6ccbfd2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

env_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ type badEnvironmentSettings2PlusValidation struct {
141141
}
142142

143143
type simpleConfig struct {
144-
DBURL string `env:"DB_URL" default:"127.0.0.1" validate:"ip_addr"`
144+
DBURL string `env:"DB_URL" default:"127.0.0.1" validate:"required"`
145145
Timeout time.Duration `env:"DB_TIMEOUT" default:"5s"`
146146
}
147147

0 commit comments

Comments
 (0)