Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xanadu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Mahendra Patel
xanadu
Commits
fdef6073
Commit
fdef6073
authored
5 years ago
by
nilanjandaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ip parsing bug fix
parent
e7f11511
master
dispatcherNICWorking
explicit_function_chaining
function_chain_predict
newt_integration
nic_offload
workflow_scheduler
0.2
v0.4.4
v0.4.3
v0.4.1
v0.4
v0.3
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
dispatch_system/dispatch_daemon/config.json
dispatch_system/dispatch_daemon/config.json
+1
-1
dispatch_system/dispatch_daemon/lib.js
dispatch_system/dispatch_daemon/lib.js
+5
-2
No files found.
dispatch_system/dispatch_daemon/config.json
View file @
fdef6073
{
"id"
:
""
,
"master_node"
:
"10.129.6.5"
}
\ No newline at end of file
{
"id"
:
"src"
,
"master_node"
:
"10.129.6.5"
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
dispatch_system/dispatch_daemon/lib.js
View file @
fdef6073
...
...
@@ -13,9 +13,12 @@ function updateConfig() {
console
.
log
(
err
);
process
.
exit
(
1
);
}
let
data
=
getIP
.
stdout
.
toString
().
trim
().
split
(
'
'
)
let
data
=
getIP
.
stdout
.
toString
().
trim
()
data
=
data
.
substr
(
0
,
data
.
indexOf
(
"
\n
"
)).
trim
()
data
=
data
.
split
(
'
'
)
console
.
log
(
data
);
file
.
id
=
data
[
data
.
length
-
3
]
file
.
id
=
data
[
data
.
length
-
4
]
fs
.
writeFileSync
(
'
./config.json
'
,
JSON
.
stringify
(
file
));
console
.
log
(
"
Updated Config file
"
);
}
...
...
This diff is collapsed.
Click to expand it.
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