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
小 白蛋
Rke
Commits
4f0a191e
Commit
4f0a191e
authored
6 years ago
by
Sebastiaan van Steenis
Committed by
Alena Prokharchyk
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Typo valid
parent
bff7e0a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cluster/cluster.go
+1
-1
cluster/cluster.go
with
1 addition
and
1 deletion
+1
-1
cluster/cluster.go
+
1
-
1
View file @
4f0a191e
...
...
@@ -239,7 +239,7 @@ func rebuildLocalAdminConfig(ctx context.Context, kubeCluster *Cluster) error {
func
isLocalConfigWorking
(
ctx
context
.
Context
,
localKubeConfigPath
string
,
k8sWrapTransport
k8s
.
WrapTransport
)
bool
{
if
_
,
err
:=
GetK8sVersion
(
localKubeConfigPath
,
k8sWrapTransport
);
err
!=
nil
{
log
.
Infof
(
ctx
,
"[reconcile] Local config is not va
i
ld, rebuilding admin config"
)
log
.
Infof
(
ctx
,
"[reconcile] Local config is not val
i
d, rebuilding admin config"
)
return
false
}
return
true
...
...
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