Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
okeanos-LoD
Commits
00ed8b59
Commit
00ed8b59
authored
Nov 06, 2015
by
Ioannis Tsafaras
Browse files
Fix minor bug with Kafka topics in create instance form
parent
b8157eb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
webapp/frontend/app/components/create-lambda-instance-form.js
View file @
00ed8b59
...
...
@@ -5,7 +5,7 @@ export default Ember.Component.extend({
create
(
newLambdaInstance
)
{
newLambdaInstance
.
set
(
'
instanceName
'
,
this
.
get
(
'
instanceName
'
));
newLambdaInstance
.
set
(
'
masterName
'
,
this
.
get
(
'
masterName
'
));
newLambdaInstance
.
set
(
'
slaves
'
,
this
.
$
(
"
input[name='slaves']
"
)[
0
].
value
);
newLambdaInstance
.
set
(
'
projectName
'
,
this
.
$
(
"
select[name='okeanos_project']
"
)[
0
].
value
);
...
...
@@ -25,8 +25,8 @@ export default Ember.Component.extend({
}
newLambdaInstance
.
set
(
'
publicKeyName
'
,
requestedPublicKeys
);
if
(
typeof
this
.
get
(
"
kafkaTopics
"
)
!==
'
undefined
'
)
{
var
kafkaTopicsString
=
this
.
get
(
"
kafkaTopics
"
);
var
kafkaTopicsString
=
this
.
get
(
"
kafkaTopics
"
)
;
if
(
kafkaTopicsString
)
{
newLambdaInstance
.
set
(
'
kafkaTopics
'
,
kafkaTopicsString
.
split
(
'
,
'
));
}
...
...
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