update-federation-openapi-spec.sh and fix issue 38962

This commit is contained in:
Aaron.L.Xu 2016-12-20 20:24:03 -08:00
parent 853167624e
commit f15c8d0cf5
3 changed files with 3 additions and 3 deletions

View File

@ -10247,7 +10247,7 @@
}
},
"v1beta1.ClusterStatus": {
"description": "ClusterStatus is information about the current status of a cluster updated by cluster controller peridocally.",
"description": "ClusterStatus is information about the current status of a cluster updated by cluster controller periodically.",
"properties": {
"conditions": {
"description": "Conditions is an array of current cluster conditions.",

View File

@ -40,7 +40,7 @@ kube::etcd::validate() {
export PATH=$KUBE_ROOT/third_party/etcd:$PATH
hash etcd
echo $PATH
ls $KUBE_ROOT/third_party/etcd
#ls $KUBE_ROOT/third_party/etcd
version=$(etcd --version | head -n 1 | cut -d " " -f 3)
if [[ "${version}" < "${ETCD_VERSION}" ]]; then
kube::log::usage "etcd version ${ETCD_VERSION} or greater required."

View File

@ -9782,7 +9782,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{
"v1beta1.ClusterStatus": {
Schema: spec.Schema{
SchemaProps: spec.SchemaProps{
Description: "ClusterStatus is information about the current status of a cluster updated by cluster controller peridocally.",
Description: "ClusterStatus is information about the current status of a cluster updated by cluster controller periodically.",
Properties: map[string]spec.Schema{
"conditions": {
SchemaProps: spec.SchemaProps{