This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
论坛
实训
竞赛
大数据
AI开发
Register
Sign In
JointCloud
/
common
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
增加单元测试+工作流复制
pull/53/head
JeshuaRen
6 months ago
parent
e8aa7b105c
commit
e5c9e525ad
2 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
sdks/pcmscheduler/jobset.go
+1
-0
sdks/uploader/models.go
+ 4
- 0
sdks/pcmscheduler/jobset.go
View File
@@ -29,6 +29,10 @@ func (c *Client) GetClusterInfo(req GetClusterInfoReq, token string) ([]ClusterD
return nil, err
}
//all, err := io.ReadAll(resp.Body)
//str := string(all)
//println(str)
contType := resp.Header.Get("Content-Type")
if strings.Contains(contType, http2.ContentTypeJSON) {
+ 1
- 0
sdks/uploader/models.go
View File
@@ -169,6 +169,7 @@ type PackageCloneParam struct {
ClusterID schsdk.ClusterID `json:"clusterID"`
Output string `json:"output"`
ImageID schsdk.ImageID `json:"imageID"`
IsUpload bool `json:"isUpload"`
}
type PackageCloneVO struct {
Write
Preview
Loading…
Cancel
Save