Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
origin-web-common
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Java-于龙
origin-web-common
Commits
e358899c
Commit
e358899c
authored
Apr 28, 2017
by
Sam Padgett
Committed by
GitHub
Apr 28, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #52 from liggitt/dedupe-extensions-hpas
Dedupe extensions HPAs
parents
079315d4
9df0d6b9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
origin-web-common-services.js
dist/origin-web-common-services.js
+1
-1
origin-web-common.js
dist/origin-web-common.js
+1
-1
origin-web-common.min.js
dist/origin-web-common.min.js
+1
-1
apiService.js
src/services/apiService.js
+1
-1
No files found.
dist/origin-web-common-services.js
View file @
e358899c
...
...
@@ -499,7 +499,7 @@ angular.module('openshiftCommonServices')
// Exclude duplicate kinds we know about that map to the same storage as another group/kind
// This is unusual, so we are special casing these
if
(
group
.
name
===
"
autoscaling
"
&&
resource
.
kind
===
"HorizontalPodAutoscaler"
||
if
(
group
.
name
===
"
extensions
"
&&
resource
.
kind
===
"HorizontalPodAutoscaler"
||
group
.
name
===
"batch"
&&
resource
.
kind
===
"Job"
)
{
return
;
...
...
dist/origin-web-common.js
View file @
e358899c
...
...
@@ -1792,7 +1792,7 @@ angular.module('openshiftCommonServices')
// Exclude duplicate kinds we know about that map to the same storage as another group/kind
// This is unusual, so we are special casing these
if
(
group
.
name
===
"
autoscaling
"
&&
resource
.
kind
===
"HorizontalPodAutoscaler"
||
if
(
group
.
name
===
"
extensions
"
&&
resource
.
kind
===
"HorizontalPodAutoscaler"
||
group
.
name
===
"batch"
&&
resource
.
kind
===
"Job"
)
{
return
;
...
...
dist/origin-web-common.min.js
View file @
e358899c
...
...
@@ -737,7 +737,7 @@ kind:resource.kind
}),
_
.
each
(
APIS_CFG
.
groups
,
function
(
group
)
{
var
preferredVersion
=
defaultVersion
[
group
.
name
]
||
group
.
preferredVersion
;
_
.
each
(
group
.
versions
[
preferredVersion
].
resources
,
function
(
resource
)
{
resource
.
name
.
indexOf
(
"/"
)
>=
0
||
_
.
contains
(
rejectedKinds
,
resource
.
kind
)
||
"
autoscaling
"
===
group
.
name
&&
"HorizontalPodAutoscaler"
===
resource
.
kind
||
"batch"
===
group
.
name
&&
"Job"
===
resource
.
kind
||
(
resource
.
namespaced
||
includeClusterScoped
)
&&
kinds
.
push
({
resource
.
name
.
indexOf
(
"/"
)
>=
0
||
_
.
contains
(
rejectedKinds
,
resource
.
kind
)
||
"
extensions
"
===
group
.
name
&&
"HorizontalPodAutoscaler"
===
resource
.
kind
||
"batch"
===
group
.
name
&&
"Job"
===
resource
.
kind
||
(
resource
.
namespaced
||
includeClusterScoped
)
&&
kinds
.
push
({
kind
:
resource
.
kind
,
group
:
group
.
name
});
...
...
src/services/apiService.js
View file @
e358899c
...
...
@@ -296,7 +296,7 @@ angular.module('openshiftCommonServices')
// Exclude duplicate kinds we know about that map to the same storage as another group/kind
// This is unusual, so we are special casing these
if
(
group
.
name
===
"
autoscaling
"
&&
resource
.
kind
===
"HorizontalPodAutoscaler"
||
if
(
group
.
name
===
"
extensions
"
&&
resource
.
kind
===
"HorizontalPodAutoscaler"
||
group
.
name
===
"batch"
&&
resource
.
kind
===
"Job"
)
{
return
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment