Update NodeRef to v1.ObjectReference.

This commit is contained in:
Klaus Ma
2016-12-22 16:28:20 +08:00
parent 4495af3822
commit e901800687
5 changed files with 7 additions and 3 deletions

View File

@@ -292,7 +292,7 @@ func NewProxyServerDefault(config *options.ProxyServerConfig) (*ProxyServer, err
endpointsConfig.Channel("api"),
)
config.NodeRef = &api.ObjectReference{
config.NodeRef = &v1.ObjectReference{
Kind: "Node",
Name: hostname,
UID: types.UID(hostname),