This project is mirrored from https://github.com/coredns/coredns.git. The repository failed to update .
Repository mirroring has been paused due to too many failed attempts, and can be resumed by a project maintainer.
Last successful update .
  1. 01 Oct, 2019 2 commits
    • Erfan Besharat's avatar
      Remove deprecated function calls flagged by staticcheck (#3333) · 4ffbee29
      Erfan Besharat authored
      * Use session.NewSession instead of session.New
      Signed-off-by: default avatarErfan Besharat <erbesharat@gmail.com>
      
      * Use grpc.DialContext instead of grpc.WithTimeout
      Signed-off-by: default avatarErfan Besharat <erbesharat@gmail.com>
      
      * Pass non-nil context to context.WithTimeout
      Signed-off-by: default avatarErfan Besharat <erbesharat@gmail.com>
      
      * Return the error directly in route53 setup
      Co-Authored-By: default avatarMiek Gieben <miek@miek.nl>
      Signed-off-by: default avatarErfan Besharat <erbesharat@gmail.com>
      4ffbee29
    • Miek Gieben's avatar
      Run gostaticheck (#3325) · dbd1c047
      Miek Gieben authored
      * Run gostaticheck
      
      Run gostaticcheck on the codebase and fix almost all flagged items.
      
      Only keep
      
      * coremain/run.go:192:2: var appVersion is unused (U1000)
      * plugin/chaos/setup.go:54:3: the surrounding loop is unconditionally terminated (SA4004)
      * plugin/etcd/setup.go:103:3: the surrounding loop is unconditionally terminated (SA4004)
      * plugin/pkg/replacer/replacer.go:274:13: argument should be pointer-like to avoid allocations (SA6002)
      * plugin/route53/setup.go:124:28: session.New is deprecated: Use NewSession functions to create sessions instead. NewSession has the same functionality as New except an error can be returned when the func is called instead of waiting to receive an error until a request is made.  (SA1019)
      * test/grpc_test.go:25:69: grpc.WithTimeout is deprecated: use DialContext and context.WithTimeout instead.  Will be supported throughout 1.x.  (SA1019)
      
      The first one isn't true, as this is set via ldflags. The rest is
      minor. The deprecation should be fixed at some point; I'll file some
      issues.
      Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
      
      * Make sure to plug in the plugins
      
      import the plugins, that file that did this was removed, put it in the
      reload test as this requires an almost complete coredns server.
      Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
      dbd1c047
  2. 30 Sep, 2019 3 commits
  3. 28 Sep, 2019 3 commits
  4. 27 Sep, 2019 6 commits
  5. 26 Sep, 2019 2 commits
  6. 25 Sep, 2019 1 commit
  7. 24 Sep, 2019 3 commits
  8. 23 Sep, 2019 1 commit
  9. 20 Sep, 2019 1 commit
    • Miek Gieben's avatar
      all: simply registering plugins (#3287) · 004c5fca
      Miek Gieben authored
      Abstract the caddy call and make it simpler.
      
      See #3261 for some part of the discussion.
      
      Go from:
      
      ~~~ go
      func init() {
             caddy.RegisterPlugin("any", caddy.Plugin{
                     ServerType: "dns",
                     Action:     setup,
             })
      }
      ~~~
      
      To:
      
      ~~~ go
      func init() { plugin.Register("any", setup) }
      ~~~
      
      This requires some external documents in coredns.io to be updated as
      well; the old way still works, so it's backwards compatible.
      Signed-off-by: default avatarMiek Gieben <miek@miek.nl>
      004c5fca
  10. 19 Sep, 2019 4 commits
  11. 16 Sep, 2019 4 commits
  12. 10 Sep, 2019 3 commits
  13. 09 Sep, 2019 5 commits
  14. 08 Sep, 2019 2 commits