From 7c91274df23dfd156d9e1d1caf5a0c01b741fdf9 Mon Sep 17 00:00:00 2001 From: Klaus Ma Date: Fri, 24 Mar 2017 11:31:15 +0800 Subject: [PATCH] Fix comments typo in rkt. --- pkg/kubelet/rkt/systemd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kubelet/rkt/systemd.go b/pkg/kubelet/rkt/systemd.go index 8655df92a96..73768e5ea8c 100644 --- a/pkg/kubelet/rkt/systemd.go +++ b/pkg/kubelet/rkt/systemd.go @@ -57,7 +57,7 @@ type systemdInterface interface { ListUnits() ([]dbus.UnitStatus, error) // StopUnits stops the unit with the given name. StopUnit(name string, mode string, ch chan<- string) (int, error) - // StopUnits restarts the unit with the given name. + // RestartUnit restarts the unit with the given name. RestartUnit(name string, mode string, ch chan<- string) (int, error) // ResetFailedUnit resets the "failed" state of a specific unit. ResetFailedUnit(name string) error