From fbdd619269be7a00172e06992a8d40b22be1a6d7 Mon Sep 17 00:00:00 2001 From: Pinglei Guo Date: Sun, 7 Mar 2021 10:58:31 -0800 Subject: [PATCH] build: Add space after +build Fix https://github.com/aws/amazon-cloudwatch-agent/issues/181 --- plugins/inputs/cadvisor/cadvisor_windows.go | 1 + translator/util/platform_windows.go | 1 + 2 files changed, 2 insertions(+) diff --git a/plugins/inputs/cadvisor/cadvisor_windows.go b/plugins/inputs/cadvisor/cadvisor_windows.go index 7a6fb840c7..5df9198cb3 100644 --- a/plugins/inputs/cadvisor/cadvisor_windows.go +++ b/plugins/inputs/cadvisor/cadvisor_windows.go @@ -2,6 +2,7 @@ // SPDX-License-Identifier: MIT // +build windows + package cadvisor // cadvisor doesn't support windows, leave it empty diff --git a/translator/util/platform_windows.go b/translator/util/platform_windows.go index 29372b5ded..457a9ffdd3 100644 --- a/translator/util/platform_windows.go +++ b/translator/util/platform_windows.go @@ -2,6 +2,7 @@ // SPDX-License-Identifier: MIT // +build windows + package util import (