1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-31 18:30:58 +00:00

fix: make container.docker_host default to - (part two)

If --config is not specified, the default must also be "-" and not ""
This commit is contained in:
Earl Warren 2024-11-15 22:33:36 +01:00
parent a3e575f61b
commit b33e155709
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
3 changed files with 6 additions and 0 deletions

View file

@ -40,5 +40,6 @@ func TestDefaultSettings(t *testing.T) {
config, err := LoadDefault("")
assert.NoError(t, err)
assert.EqualValues(t, config.Container.DockerHost, "-")
assert.EqualValues(t, config.Log.JobLevel, "info")
}