Skip to content

Commit d274b26

Browse files
author
Joshua Anderson
committed
fix(deisctl): Add extension when refreshing units
1 parent 1cc6021 commit d274b26

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
@@ -569,7 +569,7 @@ Options:
569569
tag := args["--tag"].(string)
570570
for _, unit := range units.Names {
571571
src := rootURL + tag + "/deisctl/units/" + unit + ".service"
572-
dest := filepath.Join(dir, unit)
572+
dest := filepath.Join(dir, unit+".service")
573573
res, err := http.Get(src)
574574
if err != nil {
575575
return err

0 commit comments

Comments
 (0)