Removed un-necessary empty line.
This commit is contained in:
parent
815b340f8d
commit
41c4426a30
@ -124,7 +124,6 @@ HTTP server: The kubelet can also listen for HTTP and respond to a simple API
|
|||||||
// UnsecuredKubeletDeps returns a KubeletDeps suitable for being run, or an error if the server setup
|
// UnsecuredKubeletDeps returns a KubeletDeps suitable for being run, or an error if the server setup
|
||||||
// is not valid. It will not start any background processes, and does not include authentication/authorization
|
// is not valid. It will not start any background processes, and does not include authentication/authorization
|
||||||
func UnsecuredKubeletDeps(s *options.KubeletServer) (*kubelet.KubeletDeps, error) {
|
func UnsecuredKubeletDeps(s *options.KubeletServer) (*kubelet.KubeletDeps, error) {
|
||||||
|
|
||||||
// Initialize the TLS Options
|
// Initialize the TLS Options
|
||||||
tlsOptions, err := InitializeTLS(&s.KubeletConfiguration)
|
tlsOptions, err := InitializeTLS(&s.KubeletConfiguration)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -349,7 +348,6 @@ func makeEventRecorder(s *componentconfig.KubeletConfiguration, kubeDeps *kubele
|
|||||||
} else {
|
} else {
|
||||||
glog.Warning("No api server defined - no events will be sent to API server.")
|
glog.Warning("No api server defined - no events will be sent to API server.")
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func run(s *options.KubeletServer, kubeDeps *kubelet.KubeletDeps) (err error) {
|
func run(s *options.KubeletServer, kubeDeps *kubelet.KubeletDeps) (err error) {
|
||||||
|
@ -210,7 +210,6 @@ func (kl *Kubelet) initialNode() (*v1.Node, error) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
node.Spec.Taints = taints
|
node.Spec.Taints = taints
|
||||||
|
|
||||||
}
|
}
|
||||||
// Initially, set NodeNetworkUnavailable to true.
|
// Initially, set NodeNetworkUnavailable to true.
|
||||||
if kl.providerRequiresNetworkingConfiguration() {
|
if kl.providerRequiresNetworkingConfiguration() {
|
||||||
|
Loading…
Reference in New Issue
Block a user