Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
aon-app-server
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
aon-app-server
Commits
f4910887
Commit
f4910887
authored
Aug 11, 2024
by
brent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify Prediction
parent
3cf4394e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
task.go
controllers/task.go
+3
-1
lastupdate.tmp
lastupdate.tmp
+1
-1
No files found.
controllers/task.go
View file @
f4910887
...
@@ -602,7 +602,9 @@ func sendReplicate(task *models.Task, async bool) (*models.TaskResponse, error)
...
@@ -602,7 +602,9 @@ func sendReplicate(task *models.Task, async bool) (*models.TaskResponse, error)
if
err
=
json
.
Unmarshal
(
body
,
&
response
);
err
!=
nil
{
if
err
=
json
.
Unmarshal
(
body
,
&
response
);
err
!=
nil
{
setError
(
task
,
"Task response Unmarshal error:"
+
err
.
Error
())
setError
(
task
,
"Task response Unmarshal error:"
+
err
.
Error
())
logs
.
Info
(
"sendReplicate Error Unmarshal response:"
,
err
)
logs
.
Info
(
"sendReplicate Error Unmarshal response:"
,
err
)
return
nil
,
err
taskReturn
.
ExecError
=
string
(
body
)
taskResponse
.
Task
=
taskReturn
return
taskResponse
,
nil
}
}
if
response
.
Urls
.
Get
!=
""
||
(
model
.
Stream
&&
response
.
Urls
.
Stream
!=
""
)
{
if
response
.
Urls
.
Get
!=
""
||
(
model
.
Stream
&&
response
.
Urls
.
Stream
!=
""
)
{
//replicateTimeout, _ := beego.AppConfig.Int("replicateTimeout")
//replicateTimeout, _ := beego.AppConfig.Int("replicateTimeout")
...
...
lastupdate.tmp
View file @
f4910887
{"/Users/brent/Documents/wubanWork/aon_app_server/controllers":1723261526218747361}
{"/Users/brent/Documents/wubanWork/aon_app_server/controllers":1723333924719856567}
\ No newline at end of file
\ No newline at end of file
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