Skip to content

Commit 05d231b

Browse files
committed
fix: update artifact type check in Push method to include ScrollFs
1 parent bb42237 commit 05d231b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • internal/core/services/registry

internal/core/services/registry/oci.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ func (c *OciClient) Push(folder string, repo string, tag string, overrides map[s
270270

271271
//check if files exisits (file or folder) and remove from slice if not
272272
for fileName, artifactType := range domain.ScrollFiles {
273-
if artifactType != domain.ArtifactTypeScrollData {
273+
if artifactType != domain.ArtifactTypeScrollData && artifactType != domain.ArtifactTypeScrollFs {
274274
continue
275275
}
276276
exists, _ := utils.FileExists(filepath.Join(folder, fileName))

0 commit comments

Comments
 (0)