test/cros-publish: fix minor go fmt whitespace errors
These small errors are causing repo upload hooks to fail:
[FAILED] chromiumos/platform/dev-util: _check_gofmt
Files not formatted with gofmt:
src/chromiumos/test/publish/cmd/cros-publish/main.go
BUG=b:187795288
TEST=Local builds; CQ.
Change-Id: I9115dce02725493491fad8694a2496ef63a60b14
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/3584107
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: Derek Beckett <dbeckett@chromium.org>
Commit-Queue: Manoj Gupta <manojgupta@chromium.org>
Tested-by: Manoj Gupta <manojgupta@chromium.org>
diff --git a/src/chromiumos/test/publish/cmd/cros-publish/main.go b/src/chromiumos/test/publish/cmd/cros-publish/main.go
index d2bd414..fb6f618 100644
--- a/src/chromiumos/test/publish/cmd/cros-publish/main.go
+++ b/src/chromiumos/test/publish/cmd/cros-publish/main.go
@@ -71,7 +71,7 @@
type args struct {
// Common input params.
// Local log file path.
- logPath string
+ logPath string
// Local directory that will be uploaded.
localDir string
// GCS bucket path where the local directory will be uploaded to.
@@ -150,7 +150,7 @@
defer logFile.Close()
logger := newLogger(logFile)
- if err := validate(a) ; err != nil {
+ if err := validate(a); err != nil {
log.Fatalf("Validate arguments fail: %s", err)
return 2
}