Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/adding tests evaluator parser #2273 #24

Merged
merged 7 commits into from
Nov 23, 2021

Conversation

Ofir-Lapid
Copy link

No description provided.

@Ofir-Lapid Ofir-Lapid requested a review from kfirpeled November 22, 2021 15:36
runId, _ := uuid.NewV4()
omap := o.(map[string][]interface{})

resourceCallback := func(resource interface{}) {
bt.resourceIteration(resource, runId)
bt.resourceIteration(resource, runId, timestamp)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do you want multiple resources to share the same timestamp?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am wondering what the timestamp that should be on the resource:
Before my change
The time that OPA respond + epsilon
After my change
The time that the fetcher brings the data

I would go with my version..

WDT

@Ofir-Lapid Ofir-Lapid merged commit 1889d50 into master Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants