Rename ID -> Name

This commit is contained in:
Clayton Coleman
2014-10-22 13:02:02 -04:00
parent bdebff5b28
commit bb77a5d15f
107 changed files with 777 additions and 777 deletions

View File

@@ -36,7 +36,7 @@ func TestGetReference(t *testing.T) {
"pod": {
obj: &Pod{
TypeMeta: TypeMeta{
ID: "foo",
Name: "foo",
ResourceVersion: "42",
SelfLink: "/api/v1beta1/pods/foo",
},
@@ -52,7 +52,7 @@ func TestGetReference(t *testing.T) {
"serviceList": {
obj: &ServiceList{
TypeMeta: TypeMeta{
ID: "foo",
Name: "foo",
ResourceVersion: "42",
SelfLink: "/api/v1beta2/services",
},
@@ -68,7 +68,7 @@ func TestGetReference(t *testing.T) {
"badSelfLink": {
obj: &ServiceList{
TypeMeta: TypeMeta{
ID: "foo",
Name: "foo",
ResourceVersion: "42",
SelfLink: "v1beta2/services",
},