From e9e0313f1bbafc1b3227e1e5ce5126e702885a52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=AB?= <105725381+noejbrown@users.noreply.github.com> Date: Thu, 14 Jul 2022 11:09:09 -0400 Subject: [PATCH] Sprintf Changes Change Sprintf to be one line in GoString --- config/intentions_service.go | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/config/intentions_service.go b/config/intentions_service.go index f9ee98861..300e62240 100644 --- a/config/intentions_service.go +++ b/config/intentions_service.go @@ -116,14 +116,8 @@ func (c *IntentionsServicesConfig) GoString() string { } if len(c.Names) > 0 { - return fmt.Sprintf( - "Names:%s", - c.Names, - ) + return fmt.Sprintf("Names:%s",c.Names,) } else { - return fmt.Sprintf( - "Regexp:%s", - StringVal(c.Regexp), - ) + return fmt.Sprintf("Regexp:%s",StringVal(c.Regexp),) } }