rename legacy to core

This commit is contained in:
Chao Xu
2016-02-03 13:21:05 -08:00
parent ad9fa30e7e
commit 1b047f8e67
114 changed files with 491 additions and 491 deletions

View File

@@ -37,7 +37,7 @@ type clientAPIWrapper struct {
}
func (cw *clientAPIWrapper) killPod(ns, name string) error {
return cw.client.Legacy().Pods(ns).Delete(name, api.NewDeleteOptions(0))
return cw.client.Core().Pods(ns).Delete(name, api.NewDeleteOptions(0))
}
func (cw *clientAPIWrapper) createOrUpdate(hostname string, slaveAttrLabels, annotations map[string]string) (*api.Node, error) {