deleteDeploySource, undeploy 추가

This commit is contained in:
2023-05-30 12:12:23 +09:00
parent 18e7cbf75e
commit 3161afd091
5 changed files with 67 additions and 12 deletions

View File

@ -105,7 +105,7 @@ func unmarshal[T any](val *T, src map[string]string) {
func gatherDeployedPrograms(name string) []*protos.VersionAndArgs {
var rawvers []*protos.VersionAndArgs
if vers, err := os.ReadDir(path.Join("./", name)); err == nil {
if vers, err := os.ReadDir(name); err == nil {
for _, ver := range vers {
if ver.IsDir() {
args := lastExecutionArgs(path.Join(name, ver.Name()))