diff --git a/crawler/ssh/SSHCrawler.go b/crawler/ssh/SSHCrawler.go index 0570455..6a8b924 100644 --- a/crawler/ssh/SSHCrawler.go +++ b/crawler/ssh/SSHCrawler.go @@ -29,12 +29,7 @@ func (c *SSHCrawler) Get(config *sensorConfigM.SensorConfig) (map[string]string, itemCount := len(config.Items) results := make(map[string]string, 0) - uuid, err := uuid.NewV4() - if nil != err { - return nil, err - } - - boundary := uuid.String() + boundary := uuid.NewV4().String() commands := "" for i := 0; i < itemCount; i++ {