Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
power-node
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Odysseus
power-node
Commits
dcc376dd
Commit
dcc376dd
authored
Apr 02, 2024
by
duanjinfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update api url
parent
0f3cd9c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
task_handler.go
nm/task_handler.go
+0
-4
No files found.
nm/task_handler.go
View file @
dcc376dd
...
@@ -187,10 +187,6 @@ func (t *TaskWorker) ComputeTaskHandler(taskMsg *nodeManagerV1.PushTaskMessage)
...
@@ -187,10 +187,6 @@ func (t *TaskWorker) ComputeTaskHandler(taskMsg *nodeManagerV1.PushTaskMessage)
return
return
}
}
log
.
Infof
(
"Started container with ID %s"
,
containerId
)
log
.
Infof
(
"Started container with ID %s"
,
containerId
)
}
else
{
taskOp
.
taskCmd
.
ApiUrl
=
fmt
.
Sprintf
(
"http://%s:%d%s"
,
internalIp
,
internalPort
,
taskOp
.
taskCmd
.
ApiUrl
)
log
.
Info
(
"Container ports:"
,
internalPort
)
log
.
WithField
(
"ApiUrl"
,
taskOp
.
taskCmd
.
ApiUrl
)
.
Info
(
"The image is running"
)
}
}
if
err
=
taskOp
.
waitContainerRunning
(
t
,
imageId
);
err
!=
nil
{
if
err
=
taskOp
.
waitContainerRunning
(
t
,
imageId
);
err
!=
nil
{
taskOp
.
taskExecResult
.
TaskExecError
=
fmt
.
Sprintf
(
"%s"
,
err
.
Error
())
taskOp
.
taskExecResult
.
TaskExecError
=
fmt
.
Sprintf
(
"%s"
,
err
.
Error
())
...
...
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