浏览代码

etcdmain: whitelist etcd binary flags

fanmin shi 9 年之前
父节点
当前提交
80ab321f9d
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      etcdmain/config.go

+ 3 - 0
etcdmain/config.go

@@ -52,6 +52,9 @@ var (
 		"snapshot",
 		"snapshot",
 		"v",
 		"v",
 		"vv",
 		"vv",
+		// for coverage testing
+		"test.coverprofile",
+		"test.outputdir",
 	}
 	}
 )
 )