mirror of https://github.com/k3s-io/k3s
Fix type in comment
parent
0c2613c71a
commit
c8f6038c96
|
@ -173,7 +173,7 @@ func (g *dockerConfigUrlKeyProvider) Provide() credentialprovider.DockerConfig {
|
||||||
return credentialprovider.DockerConfig{}
|
return credentialprovider.DockerConfig{}
|
||||||
}
|
}
|
||||||
|
|
||||||
// runcWithBackoff runs input function `f` with an exponential backoff.
|
// runWithBackoff runs input function `f` with an exponential backoff.
|
||||||
// Note that this method can block indefinitely.
|
// Note that this method can block indefinitely.
|
||||||
func runWithBackoff(f func() ([]byte, error)) []byte {
|
func runWithBackoff(f func() ([]byte, error)) []byte {
|
||||||
var backoff = 100 * time.Millisecond
|
var backoff = 100 * time.Millisecond
|
||||||
|
|
Loading…
Reference in New Issue