aboutsummaryrefslogtreecommitdiff
path: root/plugin/root/root_test.go
diff options
context:
space:
mode:
authorGravatar Karsten Weiss <knweiss@gmail.com> 2018-08-14 17:55:55 +0200
committerGravatar Yong Tang <yong.tang.github@outlook.com> 2018-08-14 08:55:55 -0700
commit6d8a078704567821513e8ccab29fdc5baee809f7 (patch)
tree98f3d865bfa5b853780129647ca8be7027820acc /plugin/root/root_test.go
parent18a77cd04557b810eba96a7239d39ee2d7a92157 (diff)
downloadcoredns-6d8a078704567821513e8ccab29fdc5baee809f7.tar.gz
coredns-6d8a078704567821513e8ccab29fdc5baee809f7.tar.zst
coredns-6d8a078704567821513e8ccab29fdc5baee809f7.zip
Typo fixes (#2031)
Diffstat (limited to 'plugin/root/root_test.go')
-rw-r--r--plugin/root/root_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/root/root_test.go b/plugin/root/root_test.go
index 618e6ab2e..3b4a4df04 100644
--- a/plugin/root/root_test.go
+++ b/plugin/root/root_test.go
@@ -89,7 +89,7 @@ func TestRoot(t *testing.T) {
}
}
-// getTempDirPath returnes the path to the system temp directory. If it does not exists - an error is returned.
+// getTempDirPath returns the path to the system temp directory. If it does not exist - an error is returned.
func getTempDirPath() (string, error) {
tempDir := os.TempDir()
_, err := os.Stat(tempDir)