Open ANIRUDH-333 opened 5 days ago
On diving deeper into the code, inside guaccollect dir, we found that the s3.go
expects poll
flag (viper.GetBool("poll")
). But the root command uses the service-poll
flag.
Besides that, s3.go
flag set doesn't mention the poll
flag. We found that the files.go
uses the service-poll
flag and when we made that change, it started working. If this change is acceptable, we can contribute for the fix.
Describe the bug Guaccollect doesn't recognise the
poll
flag and polling doesn't happen when we don't give any flag. It just ingests the existing artifacts and quits.To Reproduce Run the following command
test-blobstore
is the bucket which is used for blobstoretest-artifacts
is the bucket being used to store the artifactstest-collect-event
is used to listen to thePUT
events intest-artifacts
bucketExpected behavior guaccollect is supposed to keep running and should ingest the new artifacts as they are added to the bucket.
GUAC version
0.10.2