fixes
This commit is contained in:
@@ -137,6 +137,7 @@ func (i *Index) Create(
|
|||||||
ctx,
|
ctx,
|
||||||
infer.UpdateRequest[IndexArgs, IndexState]{
|
infer.UpdateRequest[IndexArgs, IndexState]{
|
||||||
ID: req.Name,
|
ID: req.Name,
|
||||||
|
Olds: IndexState{},
|
||||||
News: req.Inputs,
|
News: req.Inputs,
|
||||||
Preview: req.Preview,
|
Preview: req.Preview,
|
||||||
},
|
},
|
||||||
@@ -173,8 +174,7 @@ func (i *Index) Update(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Read remote manifest information, if it exists.
|
// Read remote manifest information, if it exists.
|
||||||
_, err = i.Read(
|
_, err = i.Read(ctx,
|
||||||
ctx,
|
|
||||||
infer.ReadRequest[IndexArgs, IndexState]{ID: req.ID, Inputs: input, State: state},
|
infer.ReadRequest[IndexArgs, IndexState]{ID: req.ID, Inputs: input, State: state},
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user