mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
Replace bool map with struct{} map in chaos plugin (#2384)
Automatically submitted.
This commit is contained in:
@@ -14,7 +14,7 @@ import (
|
||||
func TestChaos(t *testing.T) {
|
||||
em := Chaos{
|
||||
Version: version,
|
||||
Authors: map[string]bool{"Miek Gieben": true},
|
||||
Authors: map[string]struct{}{"Miek Gieben": struct{}{}},
|
||||
}
|
||||
|
||||
tests := []struct {
|
||||
|
||||
Reference in New Issue
Block a user