working commit

This commit is contained in:
2026-03-12 18:02:10 +02:00
parent 27c912d266
commit 920423ffeb
4 changed files with 45 additions and 25 deletions
+4
View File
@@ -78,6 +78,10 @@ func (oper *Operator) PutFile(ctx context.Context, operatorID string, params *Pu
var helmMeta string
if contentType == hcMimeType {
helmHash, helmMeta, err = oper.store.HelmMeta(tmpname)
if err != nil {
code := http.StatusInternalServerError
return code, res, err
}
}
descrExists, fileDescr, err := oper.mdb.GetFileByCollectionName(ctx, collection, filename)