Ville Vesilehto
ddb74cdcf4
test(plugin): improve tests for auto ( #7348 )
2025-06-04 14:37:52 -07:00
Manuel Rüger
76ba39ffe9
chore: Upgrade to golangci-lint v2 ( #7236 )
...
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2025-04-04 14:27:39 -04:00
Eng Zer Jun
b868350fc2
test: use t.TempDir
to create temporary test directory ( #6164 )
2023-06-17 15:21:01 +02:00
Miek Gieben
9178f9d1ee
Remove newlines between braces ( #4279 )
...
These are found with: `pcregrep -M "}\n\n}" **/*.go`
Sometimes a unneeded newline is inserted, remove those.
Signed-off-by: Miek Gieben <miek@miek.nl>
2020-11-11 18:45:01 +01:00
Miek Gieben
94930d20ea
plugin/file: rework outgoing axfr ( #3227 )
...
* plugin/file: rework outgoing axfr
Signed-off-by: Miek Gieben <miek@miek.nl>
* Fix test
Signed-off-by: Miek Gieben <miek@miek.nl>
* Actually properly test xfr
Signed-off-by: Miek Gieben <miek@miek.nl>
* Fix test
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-08-30 13:47:27 +01:00
Manuel Stocker
4b1b0ec9e6
Use filepath when manipulating file paths ( #2221 )
...
Automatically submitted.
2018-10-21 13:59:37 +00:00
Joey Espinosa
c2780f42c4
Updating filepath in auto plugin if existing zone's file changes location ( #1901 ) ( #1910 )
...
Exporting Zone.File to avoid getters and setters
Updating getter and setter for Zone.File to be less racy
Renaming GetFile to File in zone plugin
2018-07-03 11:20:39 +01:00
Miek Gieben
26d1432ae6
Update all plugins to use plugin/pkg/log ( #1694 )
...
* Update all plugins to use plugin/pkg/log
I wish this could have been done with sed. Alas manually changed all
callers to use the new plugin/pkg/log package.
* Error -> Info
* Add docs to debug plugin as well
2018-04-19 07:41:56 +01:00
Miek Gieben
d8714e64e4
Remove the word middleware ( #1067 )
...
* Rename middleware to plugin
first pass; mostly used 'sed', few spots where I manually changed
text.
This still builds a coredns binary.
* fmt error
* Rename AddMiddleware to AddPlugin
* Readd AddMiddleware to remain backwards compat
2017-09-14 09:36:06 +01:00