From 420825cacce8cacabc03b6031b270a0de0c03981 Mon Sep 17 00:00:00 2001 From: kazuminn Date: Wed, 20 May 2020 13:55:07 +0900 Subject: [PATCH] remove append (#978) --- scan/serverapi.go | 1 - 1 file changed, 1 deletion(-) diff --git a/scan/serverapi.go b/scan/serverapi.go index 9e83ecec..160a8d9c 100644 --- a/scan/serverapi.go +++ b/scan/serverapi.go @@ -304,7 +304,6 @@ func detectContainerOSes(timeoutSec int) (actives, inactives []osTypeInterface) u.setErrs([]error{ xerrors.New("Timed out"), }) - inactives = append(inactives) util.Log.Errorf("Timed out: %s", servername) } }