Skip to content

Commit 6571db0

Browse files
committed
Merge pull request #3835 from Joshua-Anderson/deisctl-refresh-fix
fix(deisctl): Add extension when refreshing units
2 parents 70cd4c6 + d274b26 commit 6571db0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deisctl/cmd/cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ Options:
580580
tag := args["--tag"].(string)
581581
for _, unit := range units.Names {
582582
src := rootURL + tag + "/deisctl/units/" + unit + ".service"
583-
dest := filepath.Join(dir, unit)
583+
dest := filepath.Join(dir, unit+".service")
584584
res, err := http.Get(src)
585585
if err != nil {
586586
return err

0 commit comments

Comments
 (0)