diff options
author | 2019-01-27 18:54:28 +0100 | |
---|---|---|
committer | 2019-01-27 17:54:28 +0000 | |
commit | 48a8d6c75e667598fefda4a458b125df03862970 (patch) | |
tree | 552600b837f273bfd9cc3d342a70ec9adf8680a9 /test/ds_file_test.go | |
parent | 74c8bf25dccf6d2cf062a3599f04478bbdb0d0bb (diff) | |
download | coredns-48a8d6c75e667598fefda4a458b125df03862970.tar.gz coredns-48a8d6c75e667598fefda4a458b125df03862970.tar.zst coredns-48a8d6c75e667598fefda4a458b125df03862970.zip |
plugin/etcd: Remove unnecessary struct copy (#2497)
The `b` struct is just copying all the fields into a new one, to
check if it already existed in a set. This isn't needed as all the
fields are identical, and a small rearrangement of the code solves the
same problem without the copy.
Diffstat (limited to 'test/ds_file_test.go')
0 files changed, 0 insertions, 0 deletions