|
|
@@ -55,7 +55,6 @@ func registerCommand_Server(cliConf config.CLIConfig) *cobra.Command {
|
|
|
_, _ = red.Println("Shutting down...")
|
|
|
|
|
|
err = stopDocker(ctx)
|
|
|
-
|
|
|
if err != nil {
|
|
|
_, _ = red.Println("Shutdown unsuccessful:", err.Error())
|
|
|
}
|
|
|
@@ -224,7 +223,6 @@ func startLocal(
|
|
|
cmdPorter.Stderr = os.Stderr
|
|
|
|
|
|
err = cmdPorter.Run()
|
|
|
-
|
|
|
if err != nil {
|
|
|
color.New(color.FgRed).Println("Failed:", err.Error())
|
|
|
os.Exit(1)
|
|
|
@@ -240,7 +238,6 @@ func stopDocker(ctx context.Context) error {
|
|
|
}
|
|
|
|
|
|
err = agent.StopPorterContainersWithProcessID(ctx, "main", false)
|
|
|
-
|
|
|
if err != nil {
|
|
|
return err
|
|
|
}
|
|
|
@@ -259,7 +256,7 @@ func downloadMatchingRelease(ctx context.Context, porterDir string) error {
|
|
|
ZipFolderDest: porterDir,
|
|
|
ZipName: "portersvr_latest.zip",
|
|
|
EntityID: "porter-dev",
|
|
|
- RepoName: "porter",
|
|
|
+ RepoName: "porter-archive",
|
|
|
IsPlatformDependent: true,
|
|
|
Downloader: &github.ZIPDownloader{
|
|
|
ZipFolderDest: porterDir,
|
|
|
@@ -279,7 +276,7 @@ func downloadMatchingRelease(ctx context.Context, porterDir string) error {
|
|
|
ZipFolderDest: porterDir,
|
|
|
ZipName: "static_latest.zip",
|
|
|
EntityID: "porter-dev",
|
|
|
- RepoName: "porter",
|
|
|
+ RepoName: "porter-archive",
|
|
|
IsPlatformDependent: false,
|
|
|
Downloader: &github.ZIPDownloader{
|
|
|
ZipFolderDest: porterDir,
|