Skip to content

Adding function to funnel interface#8

Merged
ollana merged 5 commits intointuit:masterfrom
YeruchamB:patch-1
Mar 11, 2020
Merged

Adding function to funnel interface#8
ollana merged 5 commits intointuit:masterfrom
YeruchamB:patch-1

Conversation

@YeruchamB
Copy link
Copy Markdown
Contributor

Adding functionality to check whether an operation is already in progress

Adding functionality to check whether an operation is already in progress
Copy link
Copy Markdown
Collaborator

@ollana ollana left a comment

Choose a reason for hiding this comment

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

missing test for new func

Comment thread funnel.go
}

func (f *Funnel) IsOpInProgress(operationId string) bool {
_, found := f.opInProcess[operationId]
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lock required before map lookup

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done

@ollana ollana merged commit 99a98d7 into intuit:master Mar 11, 2020
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