Skip to content

Commit fdc9be2

Browse files
committed
fix: correct updater service name in DownloadUpdater function
1 parent 8e773a5 commit fdc9be2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

as400/updates/dependencies.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ func DownloadVersion(address string, insecure bool) error {
1717
}
1818

1919
func DownloadUpdater(address string, insecure bool) error {
20-
if err := utils.DownloadFile(fmt.Sprintf(config.DependUrl, address, config.DependenciesPort, "utmstack_updater_service"), map[string]string{}, "utmstack_updater_service", utils.GetMyPath(), insecure); err != nil {
21-
return fmt.Errorf("error downloading utmstack_updater_service : %v", err)
20+
if err := utils.DownloadFile(fmt.Sprintf(config.DependUrl, address, config.DependenciesPort, "utmstack_as400_updater_service"), map[string]string{}, "utmstack_as400_updater_service", utils.GetMyPath(), insecure); err != nil {
21+
return fmt.Errorf("error downloading utmstack_as400_updater_service : %v", err)
2222
}
2323

2424
return nil

0 commit comments

Comments
 (0)