This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
论坛
实训
竞赛
大数据
AI开发
Register
Sign In
JointCloud
/
pcm-coordinator
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
0
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
Merge pull request 'fix openi createtask response issue' (
#456
) from tzwang/pcm-coordinator:master into master
pull/460/head
tzwang
7 months ago
parent
1eaa81bdd2
7bccb4e6fc
commit
4dc279f4af
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
internal/storeLink/openi.go
+ 4
- 0
internal/storeLink/openi.go
View File
@@ -255,6 +255,10 @@ func (o *OpenI) SubmitTask(ctx context.Context, imageId string, cmd string, envs
return nil, err
}
if resp.Code != 200 {
return nil, errors.New(resp.Msg)
}
if resp.Data.Code != 0 {
return nil, errors.New(resp.Msg)
}
Write
Preview
Loading…
Cancel
Save