mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-21 07:51:28 +02:00
cleanup code, redirect to auth page when need
This commit is contained in:
@@ -31,6 +31,7 @@ func makeEntries(cont *types.Container, dockerHostIP ...string) route.RawEntries
|
||||
} else {
|
||||
host = client.DefaultDockerHost
|
||||
}
|
||||
p.name = "test"
|
||||
entries := E.Must(p.entriesFromContainerLabels(D.FromDocker(cont, host)))
|
||||
entries.RangeAll(func(k string, v *route.RawEntry) {
|
||||
v.Finalize()
|
||||
|
||||
Reference in New Issue
Block a user