Merge pull request #1682 from Molecule-AI/fix/f1085-rm-scope-v4

fix(F1085): scope rm to /configs/path - 1-line fix
This commit is contained in:
Hongming Wang 2026-04-22 16:07:19 -07:00 committed by GitHub
commit 41316eea54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -171,7 +171,7 @@ func (h *TemplatesHandler) deleteViaEphemeral(ctx context.Context, volumeName, f
resp, err := h.docker.ContainerCreate(ctx, &container.Config{
Image: "alpine:latest",
Cmd: []string{"rm", "-rf", "/configs", filePath},
Cmd: []string{"rm", "-rf", "/configs/" + filePath},
}, &container.HostConfig{
Binds: []string{volumeName + ":/configs"},
}, nil, nil, "")