Skip to content

Commit

Permalink
fix: not saving the input
Browse files Browse the repository at this point in the history
since it may contains sensitive stuff
  • Loading branch information
York Chen committed Sep 20, 2023
1 parent 7d21158 commit 6ff150a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/collect/host_run.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,5 @@ func (c *CollectHostRun) Collect(progressChan chan<- interface{}) (map[string][]
output.SaveResults(c.BundlePath, bundleOutputRelativePath, cmdOutputTempDir)
}

if runHostCollector.Input != nil {
bundleInputRelativePath := filepath.Join(collectorRelativePath, "input")
output.SaveResults(c.BundlePath, bundleInputRelativePath, cmdInputTempDir)
}

return output, nil
}

0 comments on commit 6ff150a

Please sign in to comment.