• Matt Holt's avatar
    caddytls: Change clustering to be a plugin to the caddytls package (#2459) · 1867ded1
    Matt Holt authored
    * caddytls: Change clustering to be a plugin to the caddytls package
    
    Should resolve the failure in
    https://github.com/coredns/coredns/pull/2541.
    
    This change is breaking to clustering plugin developers (not Caddy
    users), but logical, since only the caddytls package uses CertMagic
    directly (the httpserver package also uses it, but only because it also
    uses the caddytls plugin); and it is early enough that no clustering
    plugins really exist yet.
    
    This will also require a change of devportal
    so that it looks for a different registration function, which has moved
    to the caddytls package.
    
    * Remove unused variable
    
    * caddyhttp: Fix test (adjust plugin counting)
    
    * ummmm, remove extra line break
    
    somehow VS Code didn't fmt on save... weird.
    1867ded1
plugins.go 14.4 KB