From 02b8d5073c7015d5e3098053df5a808b5608eec1 Mon Sep 17 00:00:00 2001 From: duan-yue Date: Fri, 21 Jul 2017 11:22:06 +0800 Subject: [PATCH] remove unused function --- test/integration/framework/master_utils.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/integration/framework/master_utils.go b/test/integration/framework/master_utils.go index 7ed0963ae7f..3f6b6c578ee 100644 --- a/test/integration/framework/master_utils.go +++ b/test/integration/framework/master_utils.go @@ -289,14 +289,6 @@ func startMasterOrDie(masterConfig *master.Config, incomingServer *httptest.Serv return m, s, closeFn } -func parseCIDROrDie(cidr string) *net.IPNet { - _, parsed, err := net.ParseCIDR(cidr) - if err != nil { - glog.Fatalf("error while parsing CIDR: %s", cidr) - } - return parsed -} - // Returns a basic master config. func NewMasterConfig() *master.Config { // This causes the integration tests to exercise the etcd