Skip to content

Commit 340ac70

Browse files
authored
Merge pull request kubernetes#90424 from prasadkatti/master
kubeadm: update service check log to include service name
2 parents 17cfe7b + b4e026a commit 340ac70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/kubeadm/app/preflight/checks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ func (sc ServiceCheck) Name() string {
125125

126126
// Check validates if the service is enabled and active.
127127
func (sc ServiceCheck) Check() (warnings, errorList []error) {
128-
klog.V(1).Infoln("validating if the service is enabled and active")
128+
klog.V(1).Infof("validating if the %q service is enabled and active", sc.Service)
129129
initSystem, err := initsystem.GetInitSystem()
130130
if err != nil {
131131
return []error{err}, nil

0 commit comments

Comments
 (0)