From 472b73eb5c8b4e9e6b818fb613e1d0911a78e98b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Mon, 17 Apr 2023 16:36:52 +0200 Subject: [PATCH] Cleanup: run `go fmt ./...` No functional changes. --- internal/manager/config/config.go | 2 +- internal/worker/command_exe.go | 3 ++- pkg/shaman/touch/touch_nonlinux.go | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/internal/manager/config/config.go b/internal/manager/config/config.go index 09aef57a..ec581873 100644 --- a/internal/manager/config/config.go +++ b/internal/manager/config/config.go @@ -28,7 +28,7 @@ import ( // configFilename is used to specify where flamenco will write its config file. // If the path is not absolute, it will use the flamenco binary location as the // relative root path. This is not intended to be changed during runtime. -var configFilename = "flamenco-manager.yaml" +var configFilename = "flamenco-manager.yaml" const ( latestConfigVersion = 3 diff --git a/internal/worker/command_exe.go b/internal/worker/command_exe.go index 8d7fd3a2..0224a64e 100644 --- a/internal/worker/command_exe.go +++ b/internal/worker/command_exe.go @@ -47,8 +47,9 @@ type TimeService interface { Now() time.Time } -//go:generate go run github.com/golang/mock/mockgen -destination mocks/cli_runner.gen.go -package mocks git.blender.org/flamenco/internal/worker CommandLineRunner // CommandLineRunner is an interface around exec.CommandContext(). +// +//go:generate go run github.com/golang/mock/mockgen -destination mocks/cli_runner.gen.go -package mocks git.blender.org/flamenco/internal/worker CommandLineRunner type CommandLineRunner interface { CommandContext(ctx context.Context, name string, arg ...string) *exec.Cmd RunWithTextOutput( diff --git a/pkg/shaman/touch/touch_nonlinux.go b/pkg/shaman/touch/touch_nonlinux.go index 55fefbbb..a87ae3d3 100644 --- a/pkg/shaman/touch/touch_nonlinux.go +++ b/pkg/shaman/touch/touch_nonlinux.go @@ -1,3 +1,4 @@ +//go:build !linux // +build !linux /* (c) 2019, Blender Foundation