From c1147c8df73eb61bc9d66e6628e0369e21f28670 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 11 Jul 2020 17:09:04 +0200 Subject: all: fix comments format Fix capitalization, dots at the end and two spaces after a period. Update #1876 --- vm/adb/adb.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vm/adb') diff --git a/vm/adb/adb.go b/vm/adb/adb.go index 3996ab012..75e4a1f7c 100644 --- a/vm/adb/adb.go +++ b/vm/adb/adb.go @@ -322,10 +322,10 @@ func (inst *instance) checkBatteryLevel() error { func (inst *instance) getBatteryLevel(numRetry int) (int, error) { out, err := inst.adb("shell", "dumpsys battery | grep level:") - // allow for retrying for devices that does not boot up so fast + // Allow for retrying for devices that does not boot up so fast. for ; numRetry >= 0 && err != nil; numRetry-- { if numRetry > 0 { - // sleep for 5 seconds before retrying + // Sleep for 5 seconds before retrying. time.Sleep(5 * time.Second) out, err = inst.adb("shell", "dumpsys battery | grep level:") } -- cgit mrf-deployment