Commit 83d284ab by Sam Padgett Committed by GitHub

Merge pull request #201 from benjaminapetersen/bpetersen/trello/api-groups/horizontalpodautoscalers

Fix API_PREFERRED_VERSIONS.autoscaling to horizontalpodautoscalers
parents 91fec514 674ae5db
......@@ -1425,7 +1425,6 @@ angular.module('openshiftCommonUI')
angular.module('openshiftCommonServices')
.constant('API_PREFERRED_VERSIONS', {
autoscaling: {group: 'autoscaling', resource: 'horizontalpodautoscalers' },
appliedclusterresourcequotas: {group: 'quota.openshift.io', resource: 'appliedclusterresourcequotas' },
builds: {group: 'build.openshift.io', resource: 'builds' },
'builds/clone': {group: 'build.openshift.io', resource: 'builds/clone' },
......@@ -1434,7 +1433,10 @@ angular.module('openshiftCommonServices')
configmaps: 'configmaps',
deployments: {group: 'apps', resource: 'deployments' },
deploymentconfigs: {group: 'apps.openshift.io', resource: 'deploymentconfigs' },
'deploymentconfigs/instantiate': {group: 'apps.openshift.io', resource: 'deploymentconfigs/instantiate' },
'deploymentconfigs/rollback': {group: 'apps.openshift.io', resource: 'deploymentconfigs/rollback' },
events: 'events',
horizontalpodautoscalers: {group: 'autoscaling', resource: 'horizontalpodautoscalers' },
imagestreams: {group: 'image.openshift.io', resource: 'imagestreams' },
imagestreamtags: {group: 'image.openshift.io', resource: 'imagestreamtags' },
limitranges: 'limitranges',
......
......@@ -486,10 +486,6 @@ content ? (scope.truncatedContent = truncateFilter(content, scope.limit, scope.u
}
};
} ]), angular.module("openshiftCommonServices").constant("API_PREFERRED_VERSIONS", {
autoscaling:{
group:"autoscaling",
resource:"horizontalpodautoscalers"
},
appliedclusterresourcequotas:{
group:"quota.openshift.io",
resource:"appliedclusterresourcequotas"
......@@ -519,7 +515,19 @@ deploymentconfigs:{
group:"apps.openshift.io",
resource:"deploymentconfigs"
},
"deploymentconfigs/instantiate":{
group:"apps.openshift.io",
resource:"deploymentconfigs/instantiate"
},
"deploymentconfigs/rollback":{
group:"apps.openshift.io",
resource:"deploymentconfigs/rollback"
},
events:"events",
horizontalpodautoscalers:{
group:"autoscaling",
resource:"horizontalpodautoscalers"
},
imagestreams:{
group:"image.openshift.io",
resource:"imagestreams"
......
......@@ -2,7 +2,6 @@
angular.module('openshiftCommonServices')
.constant('API_PREFERRED_VERSIONS', {
autoscaling: {group: 'autoscaling', resource: 'horizontalpodautoscalers' },
appliedclusterresourcequotas: {group: 'quota.openshift.io', resource: 'appliedclusterresourcequotas' },
builds: {group: 'build.openshift.io', resource: 'builds' },
'builds/clone': {group: 'build.openshift.io', resource: 'builds/clone' },
......@@ -11,7 +10,10 @@ angular.module('openshiftCommonServices')
configmaps: 'configmaps',
deployments: {group: 'apps', resource: 'deployments' },
deploymentconfigs: {group: 'apps.openshift.io', resource: 'deploymentconfigs' },
'deploymentconfigs/instantiate': {group: 'apps.openshift.io', resource: 'deploymentconfigs/instantiate' },
'deploymentconfigs/rollback': {group: 'apps.openshift.io', resource: 'deploymentconfigs/rollback' },
events: 'events',
horizontalpodautoscalers: {group: 'autoscaling', resource: 'horizontalpodautoscalers' },
imagestreams: {group: 'image.openshift.io', resource: 'imagestreams' },
imagestreamtags: {group: 'image.openshift.io', resource: 'imagestreamtags' },
limitranges: 'limitranges',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment