From 3a3a9ab9f91facfe2a7183589ac68a9ca7cc8107 Mon Sep 17 00:00:00 2001 From: amir gh Date: Tue, 10 Oct 2023 10:43:29 -0700 Subject: [PATCH] fixed style issue --- x/examples/outline-connectivity/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/examples/outline-connectivity/main.go b/x/examples/outline-connectivity/main.go index 164b480e..0f394968 100644 --- a/x/examples/outline-connectivity/main.go +++ b/x/examples/outline-connectivity/main.go @@ -154,7 +154,7 @@ func main() { log.Fatalf("Failed to output JSON: %v", err) } // Send error report to collector if specified - if success == false && *collectorFlag != "" { + if !success && *collectorFlag != "" { jsonData, err := json.Marshal(record) if err != nil { log.Fatalf("Error encoding JSON: %s\n", err)