Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Mizu
Commits
1c11523d
Unverified
Commit
1c11523d
authored
3 years ago
by
Igor Gov
Committed by
GitHub
3 years ago
Browse files
Options
Download
Email Patches
Plain Diff
View command - no version check (#810)
parent
150a8741
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cli/cmd/viewRunner.go
+2
-11
cli/cmd/viewRunner.go
with
2 additions
and
11 deletions
+2
-11
cli/cmd/viewRunner.go
+
2
-
11
View file @
1c11523d
...
...
@@ -3,13 +3,13 @@ package cmd
import
(
"context"
"fmt"
"github.com/up9inc/mizu/cli/utils"
"net/http"
"github.com/up9inc/mizu/cli/utils"
"github.com/up9inc/mizu/cli/apiserver"
"github.com/up9inc/mizu/cli/config"
"github.com/up9inc/mizu/cli/mizu/fsUtils"
"github.com/up9inc/mizu/cli/mizu/version"
"github.com/up9inc/mizu/cli/uiUtils"
"github.com/up9inc/mizu/shared/kubernetes"
"github.com/up9inc/mizu/shared/logger"
...
...
@@ -62,14 +62,5 @@ func runMizuView() {
uiUtils
.
OpenBrowser
(
url
)
}
if
isCompatible
,
err
:=
version
.
CheckVersionCompatibility
(
apiServerProvider
);
err
!=
nil
{
logger
.
Log
.
Errorf
(
"Failed to check versions compatibility %v"
,
err
)
cancel
()
return
}
else
if
!
isCompatible
{
cancel
()
return
}
utils
.
WaitForFinish
(
ctx
,
cancel
)
}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help