Skip to content

Commit

Permalink
Update pkg/vpcmodel/textOutput.go
Browse files Browse the repository at this point in the history
Co-authored-by: Ziv Nevo <[email protected]>
  • Loading branch information
adisos and zivnevo authored Nov 1, 2023
1 parent a7fc33c commit 8a34775
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/vpcmodel/textOutput.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ func (t *TextOutputFormatter) WriteOutput(c *VPCConfig,
out += c.GetConnectivityOutputPerEachSubnetSeparately()
}
// write output to file and return the output string
outStr, err := WriteToFile(out, outFile)
return &VPCAnalysisOutput{Output: outStr, VPCName: c.VPC.Name(), format: Text}, err
_, err := WriteToFile(out, outFile)
return &VPCAnalysisOutput{Output: out, VPCName: c.VPC.Name(), format: Text}, err
}

0 comments on commit 8a34775

Please sign in to comment.