From 6ad215c5d17729bc7fed9e1118ced42a84b92684 Mon Sep 17 00:00:00 2001 From: Adi Sosnovich <82078442+adisos@users.noreply.github.com> Date: Wed, 1 Nov 2023 12:52:29 +0200 Subject: [PATCH] Update pkg/vpcmodel/debugOutput.go Co-authored-by: Ziv Nevo <79099626+zivnevo@users.noreply.github.com> --- pkg/vpcmodel/debugOutput.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/vpcmodel/debugOutput.go b/pkg/vpcmodel/debugOutput.go index 275834197..bdc46d47a 100644 --- a/pkg/vpcmodel/debugOutput.go +++ b/pkg/vpcmodel/debugOutput.go @@ -20,6 +20,6 @@ func (t *DebugOutputFormatter) WriteOutput(c *VPCConfig, case SingleSubnet: out = c.GetConnectivityOutputPerEachSubnetSeparately() } - outStr, err := WriteToFile(out, outFile) - return &VPCAnalysisOutput{Output: outStr, VPCName: c.VPC.Name(), format: Debug}, err + _, err := WriteToFile(out, outFile) + return &VPCAnalysisOutput{Output: out, VPCName: c.VPC.Name(), format: Debug}, err }