Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
7fc43002
Unverified
Commit
7fc43002
authored
Dec 17, 2021
by
Manuel Buil
Committed by
GitHub
Dec 17, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4770 from manuelbuil/bug-ha
[Release 1-20] Fix joining ha problems
parents
c4f8f3e2
329ffcf8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
bootstrap.go
pkg/cluster/bootstrap.go
+3
-2
No files found.
pkg/cluster/bootstrap.go
View file @
7fc43002
...
...
@@ -179,8 +179,9 @@ func (c *Cluster) compareConfig() error {
}
// We are saving IPs of ClusterIPRanges and ServiceIPRanges in 4-bytes representation but json decodes in 16-byte
c
.
config
.
CriticalControlArgs
.
ClusterIPRange
.
IP
.
To16
()
c
.
config
.
CriticalControlArgs
.
ServiceIPRange
.
IP
.
To16
()
c
.
config
.
CriticalControlArgs
.
ClusterIPRange
.
IP
=
c
.
config
.
CriticalControlArgs
.
ClusterIPRange
.
IP
.
To16
()
c
.
config
.
CriticalControlArgs
.
ServiceIPRange
.
IP
=
c
.
config
.
CriticalControlArgs
.
ServiceIPRange
.
IP
.
To16
()
c
.
config
.
CriticalControlArgs
.
ClusterDNS
=
c
.
config
.
CriticalControlArgs
.
ClusterDNS
.
To16
()
if
!
reflect
.
DeepEqual
(
clusterControl
.
CriticalControlArgs
,
c
.
config
.
CriticalControlArgs
)
{
logrus
.
Debugf
(
"This is the server CriticalControlArgs: %#v"
,
clusterControl
.
CriticalControlArgs
)
...
...
Write
Preview
Markdown
is supported
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