Skip to content

Commit

Permalink
handle error from spinner (skupperproject#1301)
Browse files Browse the repository at this point in the history
* handle error from spinner
  • Loading branch information
nluaces authored Dec 1, 2023
1 parent e56ac97 commit e3bd1d4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/skupper/skupper_kube_site.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ func (s *SkupperKubeSite) Platform() types.Platform {

func (s *SkupperKubeSite) Create(cmd *cobra.Command, args []string) error {
cli := s.kube.Cli

silenceCobra(cmd)
ns := cli.GetNamespace()

Expand Down Expand Up @@ -115,7 +114,7 @@ func (s *SkupperKubeSite) Create(cmd *cobra.Command, args []string) error {
})

if err != nil {
return err
fmt.Println("Skupper status is not loaded yet.")
}

fmt.Println("Skupper is now installed in namespace '" + ns + "'. Use 'skupper status' to get more information.")
Expand Down

0 comments on commit e3bd1d4

Please sign in to comment.