Skip to content

Commit

Permalink
Delete deprecated API versions
Browse files Browse the repository at this point in the history
pkg/service:

There were a couple of references here just as a reminder to change the
behavior of findPort. As of v1beta3, TargetPort was always defaulted, so
we could remove findDefaultPort and related tests.

pkg/apiserver:

The tests were using versioned API codecs for some of their encoding
tests. Necessary API types had to be written and registered with the
fake versioned codecs.

pkg/kubectl:

Some tests were converted to current versions where it made sense.
  • Loading branch information
Kris committed May 30, 2015
1 parent f3b4b1a commit f4e2c73
Show file tree
Hide file tree
Showing 55 changed files with 3,138 additions and 37,151 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ matrix:
include:
- go: 1.4
env:
- KUBE_TEST_API_VERSIONS="v1beta1"
- KUBE_TEST_API_VERSIONS="v1beta3"
KUBE_TEST_ETCD_PREFIXES="registry"
- go: 1.3
env:
Expand Down
3 changes: 2 additions & 1 deletion api/swagger-spec/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@
}
]
}
]
],
"models": {}
}
10 changes: 5 additions & 5 deletions api/swagger-spec/resourceListing.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"swaggerVersion": "1.2",
"apis": [
{
"path": "/api",
"description": "get available API versions"
},
{
"path": "/api/v1beta3",
"description": "API at /api/v1beta3 version v1beta3"
},
{
"path": "/api",
"description": "get available API versions"
},
{
"path": "/version",
"description": "git code version from which this is built"
Expand All @@ -19,4 +19,4 @@
"title": "",
"description": ""
}
}
}
Loading

0 comments on commit f4e2c73

Please sign in to comment.