mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
test: cleanup temporary file for TestConfigFromFile
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
This commit is contained in:
@@ -98,6 +98,7 @@ func TestConfigFromFile(t *testing.T) {
|
||||
continue
|
||||
}
|
||||
if cerr != nil {
|
||||
os.Remove(tmpfile.Name())
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user