Skip to content

Commit

Permalink
merge code to dev (labring#779)
Browse files Browse the repository at this point in the history
* refactor(dev): fix docs site (labring#773)


(cherry picked from commit 66b7568)

* refactor(master): cloud,app feature close (labring#774)

* refactor(master): cloud,app feature close

(cherry picked from commit 791cbfd)

* refactor(master): cloud,app feature close (labring#774)

* refactor(master): cloud,app feature close

(cherry picked from commit 791cbfd)
  • Loading branch information
cuisongliu authored Dec 29, 2021
1 parent f56b2d6 commit 78f66fe
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ dist
test/Note.md
.ossutil_checkpoint
bin
.run
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,12 @@

---

**文档: _[官方文档](https://www.sealyun.com/instructions), [博客](https://fuckcloudnative.io)_**
**文档: _[官方文档](https://www.sealyun.com/instructions), [英文文档](/README_en.md), [博客](https://fuckcloudnative.io)_**

**加入组织: _钉钉群(35371178), [Telegram](https://t.me/gsealyun)_**

![](docs/images/arch.png)

[English Docs](/README_en.md)

# ✨ 支持的环境

## Linux 发行版, CPU架构
Expand Down
3 changes: 3 additions & 0 deletions cmd/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ package cmd
import (
"os"

"github.com/fanux/sealos/pkg/utils/logger"

v1 "github.com/fanux/sealos/pkg/types/v1alpha1"

install "github.com/fanux/sealos/pkg/install"
Expand Down Expand Up @@ -51,6 +53,7 @@ var deleteCmd = &cobra.Command{
_ = appmanager.DeleteApp(cfg, cfgFile)
},
PreRun: func(cmd *cobra.Command, args []string) {
logger.Fatal("the delete app feature not support")
if install.ExitDeleteCase(AppURL) {
_ = cmd.Help()
os.Exit(install.ErrorExitOSCase)
Expand Down
2 changes: 2 additions & 0 deletions cmd/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import (

v1 "github.com/fanux/sealos/pkg/types/v1alpha1"
"github.com/fanux/sealos/pkg/utils"
"github.com/fanux/sealos/pkg/utils/logger"

install "github.com/fanux/sealos/pkg/install"

Expand Down Expand Up @@ -54,6 +55,7 @@ var installCmd = &cobra.Command{
_ = appmanager.InstallApp(cfg, cfgFile)
},
PreRun: func(cmd *cobra.Command, args []string) {
logger.Fatal("the install app feature not support")
if install.ExitInstallCase(AppURL) {
_ = cmd.Help()
os.Exit(install.ErrorExitOSCase)
Expand Down
File renamed without changes.

0 comments on commit 78f66fe

Please sign in to comment.