genofire/hs_monolith
genofire
/
hs_monolith
Archived
1
0
Fork 0

[TASK] startup also with ipv4

This commit is contained in:
Martin Geno 2017-03-30 15:32:22 +02:00
parent f77bf008e9
commit 2560bafade
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
webserver_bind = "[::1]:8080" webserver_bind = ":8080"

View File

@ -12,7 +12,7 @@ func TestReadConfig(t *testing.T) {
config := ReadConfigFile("../config_example.conf") config := ReadConfigFile("../config_example.conf")
assert.NotNil(config) assert.NotNil(config)
assert.Equal("[::1]:8080", config.WebserverBind) assert.Equal(":8080", config.WebserverBind)
assert.Panics(func() { assert.Panics(func() {
ReadConfigFile("../config_example.co") ReadConfigFile("../config_example.co")