From 28f1b586f63dc0bc867cc17c6e4f0f273054aea6 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 30 Mar 2023 16:43:03 +0200 Subject: [PATCH] cli/compose/schema: remove name for unused arg (revive) cli/compose/schema/schema.go:20:44: unused-parameter: parameter 'input' seems to be unused, consider removing or renaming it as _ (revive) func (checker portsFormatChecker) IsFormat(input interface{}) bool { ^ Signed-off-by: Sebastiaan van Stijn (cherry picked from commit 7c8680c69b2c12aec072636467b48fe79b11af96) Signed-off-by: Sebastiaan van Stijn --- cli/compose/schema/schema.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/compose/schema/schema.go b/cli/compose/schema/schema.go index 9d2a58e8b3..c7786f48fb 100644 --- a/cli/compose/schema/schema.go +++ b/cli/compose/schema/schema.go @@ -17,7 +17,7 @@ const ( type portsFormatChecker struct{} -func (checker portsFormatChecker) IsFormat(input interface{}) bool { +func (checker portsFormatChecker) IsFormat(_ interface{}) bool { // TODO: implement this return true }