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
44d6f854
Unverified
Commit
44d6f854
authored
Mar 03, 2017
by
Jessica Forrester
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the protocol on additionalServers actually optional
parent
3f23c6fe
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
origin-web-common.js
dist/origin-web-common.js
+1
-1
origin-web-common.min.js
dist/origin-web-common.min.js
+0
-0
openshiftCommon.module.js
src/openshiftCommon.module.js
+1
-1
No files found.
dist/origin-web-common.js
View file @
44d6f854
...
...
@@ -135,7 +135,7 @@ hawtioPluginLoader.registerPreBootstrapTask(function(next) {
// There can not be any conflicts in the groups/resources from these API servers.
var
additionalDeferreds
=
[];
_
.
each
(
window
.
OPENSHIFT_CONFIG
.
additionalServers
,
function
(
server
)
{
var
baseURL
=
server
.
protocol
+
"://"
+
server
.
hostPort
+
server
.
prefix
;
var
baseURL
=
(
server
.
protocol
?
(
server
.
protocol
+
"://"
)
:
protocol
)
+
server
.
hostPort
+
server
.
prefix
;
additionalDeferreds
.
push
(
$
.
get
(
baseURL
)
.
then
(
_
.
partial
(
getGroups
,
baseURL
,
server
),
function
(
data
,
textStatus
,
jqXHR
)
{
API_DISCOVERY_ERRORS
.
push
({
...
...
dist/origin-web-common.min.js
View file @
44d6f854
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/openshiftCommon.module.js
View file @
44d6f854
...
...
@@ -135,7 +135,7 @@ hawtioPluginLoader.registerPreBootstrapTask(function(next) {
// There can not be any conflicts in the groups/resources from these API servers.
var
additionalDeferreds
=
[];
_
.
each
(
window
.
OPENSHIFT_CONFIG
.
additionalServers
,
function
(
server
)
{
var
baseURL
=
server
.
protocol
+
"://"
+
server
.
hostPort
+
server
.
prefix
;
var
baseURL
=
(
server
.
protocol
?
(
server
.
protocol
+
"://"
)
:
protocol
)
+
server
.
hostPort
+
server
.
prefix
;
additionalDeferreds
.
push
(
$
.
get
(
baseURL
)
.
then
(
_
.
partial
(
getGroups
,
baseURL
,
server
),
function
(
data
,
textStatus
,
jqXHR
)
{
API_DISCOVERY_ERRORS
.
push
({
...
...
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