Skip to content

Commit

Permalink
fix: rename loft->vcluster platform
Browse files Browse the repository at this point in the history
Signed-off-by: Rohan CJ <rohantmp@gmail.com>
  • Loading branch information
rohantmp committed Nov 6, 2024
1 parent f50ee83 commit 9bf1686
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/cli/start/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ func (l *LoftStarter) prepareDocker() error {
// test for helm and kubectl
_, err := exec.LookPath("docker")
if err != nil {
return fmt.Errorf("seems like docker is not installed. Docker is required for the installation of loft. Please visit https://docs.docker.com/engine/install/ for install instructions")
return fmt.Errorf("seems like docker is not installed. Docker is required for the installation of vcluster platform. Please visit https://docs.docker.com/engine/install/ for install instructions")
}

output, err := exec.Command("docker", "ps").CombinedOutput()
Expand Down
4 changes: 2 additions & 2 deletions pkg/cli/start/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func (l *Options) Prepare() error {
// test for helm and kubectl
_, err = exec.LookPath("helm")
if err != nil {
return fmt.Errorf("seems like helm is not installed. Helm is required for the installation of loft. Please visit https://helm.sh/docs/intro/install/ for install instructions")
return fmt.Errorf("seems like helm is not installed. Helm is required for the installation of vcluster platform. Please visit https://helm.sh/docs/intro/install/ for install instructions")
}

output, err := exec.Command("helm", "version").CombinedOutput()
Expand All @@ -192,7 +192,7 @@ func (l *Options) Prepare() error {

_, err = exec.LookPath("kubectl")
if err != nil {
return fmt.Errorf("seems like kubectl is not installed. Kubectl is required for the installation of loft. Please visit https://kubernetes.io/docs/tasks/tools/install-kubectl/ for install instructions")
return fmt.Errorf("seems like kubectl is not installed. Kubectl is required for the installation of vcluster platform. Please visit https://kubernetes.io/docs/tasks/tools/install-kubectl/ for install instructions")
}

output, err = exec.Command("kubectl", "version", "--context", contextToLoad).CombinedOutput()
Expand Down

0 comments on commit 9bf1686

Please sign in to comment.