Merge pull request 'update openi' (#43) from tzwang/pcm-participant:master into master
This commit is contained in:
commit
ad506525ba
|
@ -41,12 +41,12 @@ func main() {
|
|||
// zap.L().Fatal("集群初始化失败", zap.Error(err))
|
||||
//}
|
||||
// 初始化智算集群连接
|
||||
//aiSvc, err := initialize.InitAICluster(cfg)
|
||||
//if err != nil {
|
||||
// initialize.Panic("Server started failed: %s", err)
|
||||
// return
|
||||
//}
|
||||
//api.AiApi.RegisterSvc(aiSvc)
|
||||
aiSvc, err := initialize.InitAICluster(cfg)
|
||||
if err != nil {
|
||||
initialize.Panic("Server started failed: %s", err)
|
||||
return
|
||||
}
|
||||
api.AiApi.RegisterSvc(aiSvc)
|
||||
// 初始化通算集群连接
|
||||
cloudSvc, err := initialize.InitCloudCluster(cfg)
|
||||
if err != nil {
|
||||
|
|
|
@ -1549,9 +1549,8 @@ func (d *Dataset) Create(ctx context.Context, param *dataset.CreateParam) (*data
|
|||
}
|
||||
|
||||
if openi.RepoName == "" {
|
||||
return nil, errors.New("Repo is required")
|
||||
return nil, errors.New("RepoName is required")
|
||||
}
|
||||
|
||||
// jcs source
|
||||
if param.Src.Jcs == nil {
|
||||
return nil, errors.New("jcs source is required")
|
||||
|
|
Loading…
Reference in New Issue