Fixes static check failures in test/e2e_node/*

This commit is contained in:
Nabarun Pal
2019-08-26 13:27:25 +05:30
parent b327a729c5
commit 83c443e728
10 changed files with 20 additions and 41 deletions

View File

@@ -1190,8 +1190,3 @@ func (tc *nodeConfigTestCase) checkConfigMetrics(f *framework.Framework) {
return nil
}, timeout, interval).Should(gomega.BeNil())
}
// constructs the expected SelfLink for a config map
func configMapAPIPath(cm *v1.ConfigMap) string {
return fmt.Sprintf("/api/v1/namespaces/%s/configmaps/%s", cm.Namespace, cm.Name)
}