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
0bccce45
Commit
0bccce45
authored
Oct 17, 2014
by
Michal Fojtik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move error about connecting to healthz server to V(1)
parent
8261caed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
docker.go
pkg/kubelet/dockertools/docker.go
+3
-2
healthy_registry.go
pkg/registry/minion/healthy_registry.go
+1
-1
No files found.
pkg/kubelet/dockertools/docker.go
View file @
0bccce45
...
@@ -22,6 +22,7 @@ import (
...
@@ -22,6 +22,7 @@ import (
"hash/adler32"
"hash/adler32"
"io"
"io"
"math/rand"
"math/rand"
"os"
"os/exec"
"os/exec"
"sort"
"sort"
"strconv"
"strconv"
...
@@ -82,8 +83,8 @@ func NewDockerPuller(client DockerInterface, qps float32, burst int) DockerPulle
...
@@ -82,8 +83,8 @@ func NewDockerPuller(client DockerInterface, qps float32, burst int) DockerPulle
cfg
,
err
:=
readDockerConfigFile
()
cfg
,
err
:=
readDockerConfigFile
()
if
err
==
nil
{
if
err
==
nil
{
cfg
.
addToKeyring
(
dp
.
keyring
)
cfg
.
addToKeyring
(
dp
.
keyring
)
}
else
{
}
else
if
!
os
.
IsNotExist
(
err
)
{
glog
.
Error
f
(
"Unable to parse Docker config file: %v"
,
err
)
glog
.
V
(
1
)
.
Info
f
(
"Unable to parse Docker config file: %v"
,
err
)
}
}
if
dp
.
keyring
.
count
()
==
0
{
if
dp
.
keyring
.
count
()
==
0
{
...
...
pkg/registry/minion/healthy_registry.go
View file @
0bccce45
...
@@ -75,7 +75,7 @@ func (r *HealthyRegistry) ListMinions(ctx api.Context) (currentMinions *api.Mini
...
@@ -75,7 +75,7 @@ func (r *HealthyRegistry) ListMinions(ctx api.Context) (currentMinions *api.Mini
for
_
,
minion
:=
range
list
.
Items
{
for
_
,
minion
:=
range
list
.
Items
{
status
,
err
:=
health
.
DoHTTPCheck
(
r
.
makeMinionURL
(
minion
.
ID
),
r
.
client
)
status
,
err
:=
health
.
DoHTTPCheck
(
r
.
makeMinionURL
(
minion
.
ID
),
r
.
client
)
if
err
!=
nil
{
if
err
!=
nil
{
glog
.
Error
f
(
"%#v failed health check with error: %s"
,
minion
,
err
)
glog
.
V
(
1
)
.
Info
f
(
"%#v failed health check with error: %s"
,
minion
,
err
)
continue
continue
}
}
if
status
==
health
.
Healthy
{
if
status
==
health
.
Healthy
{
...
...
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