• Miek Gieben's avatar
    middleware/secondary: pull all zones (#834) · a235833b
    Miek Gieben authored
    Use the same OnStartup setup as in the file middleware. We need to copy
    the variable from range, otherwise it gets overwriten in the next loop
    because of the async goroutine call.
    
    Hard to test, we have secondary_test.go which we could extend with
    multiple zones for instance. For now this fix does not have an test case
    with it...
    a235833b
setup.go 2.35 KB