File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ func SearchAction(c *cli.Context) error {
6262 defer wg .Done ()
6363 if probeResults , err := dns .SearchByProbe (searchTerm , maxResults ); err == nil {
6464 fmt .Println ("🟢 Load DNS results" )
65- ptf .results .DNS = probeResults
65+ ptf .results .dns = probeResults
6666 } else {
6767 fmt .Println ("🔴 Cannot get DNS results:" , err .Error ())
6868 ptfErrorCount ++
@@ -88,7 +88,7 @@ func SearchAction(c *cli.Context) error {
8888 util .PrintResults (ptf .results .golang , "Golang" , f .formatGo )
8989 util .PrintResults (ptf .results .npm , "NPM" , f .formatNPM )
9090 util .PrintResults (ptf .results .pypi , "PyPI" , f .formatPyPI )
91- util .PrintResults (ptf .results .DNS , "DNS" , f .formatDNS )
91+ util .PrintResults (ptf .results .dns , "DNS" , f .formatDNS )
9292
9393 return nil
9494}
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ type searchPortfolio struct {
5555 golang []model.GoPackageResult
5656 npm []model.NPMPackageResult
5757 pypi []model.PyPIPackageResult
58- DNS []model.DNSResult
58+ dns []model.DNSResult
5959 }
6060 wg * sync.WaitGroup
6161 c int
@@ -71,7 +71,7 @@ func (p *searchPortfolio) isEmpty() bool {
7171 return (len (p .results .npm ) +
7272 len (p .results .golang ) +
7373 len (p .results .pypi ) +
74- len (p .results .DNS )) == 0
74+ len (p .results .dns )) == 0
7575}
7676
7777// run invokes a function as a goroutine and passes a WaitGroup into it.
You can’t perform that action at this time.
0 commit comments