Skip to content
This repository was archived by the owner on Mar 16, 2021. It is now read-only.

Added missed argument - #56

Open
andreaubbiali wants to merge 1 commit into
sorintlab:masterfrom
2h3ph3rd:member-request-saga
Open

Added missed argument#56
andreaubbiali wants to merge 1 commit into
sorintlab:masterfrom
2h3ph3rd:member-request-saga

Conversation

@andreaubbiali

Copy link
Copy Markdown
Contributor

Added missed argument

@sgotti sgotti left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@andreaubbiali Thanks for the PR. See the comments.

Comment thread saga/memberrequestsaga.go Outdated
}

if err := s.completeMemberChange(correlationID, causationID, memberChangeID, fmt.Sprintf("error updating member: %v, err")); err != nil {
if err := s.completeMemberChange(correlationID, causationID, memberChangeID, fmt.Sprintf("error updating member: %v, err", memberChangeID)); err != nil {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The missing argument is "err" due to wrong closing quote position. Should be something like:

fmt.Sprintf("error updating member: %v", err)

If instead you also wanted to log the `memberChangeID` then please do this in another PR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants