mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Updated node.go using update-gofmt.sh
This commit is contained in:
parent
7e04eeab50
commit
2862f3ec94
@ -110,7 +110,7 @@ func GetNodeHostIP(node *v1.Node) (net.IP, error) {
|
|||||||
// If required, wait for the node to be defined.
|
// If required, wait for the node to be defined.
|
||||||
func GetNodeIP(client clientset.Interface, hostname string) net.IP {
|
func GetNodeIP(client clientset.Interface, hostname string) net.IP {
|
||||||
var nodeIP net.IP
|
var nodeIP net.IP
|
||||||
backoff := wait.Backoff {
|
backoff := wait.Backoff{
|
||||||
Steps: 5,
|
Steps: 5,
|
||||||
Duration: 1 * time.Second,
|
Duration: 1 * time.Second,
|
||||||
Factor: 2.0,
|
Factor: 2.0,
|
||||||
|
Loading…
Reference in New Issue
Block a user