Skip to content

returns error when resource not found by QuerySingleResource#15

Merged
jkralik merged 1 commit intomasterfrom
fixQuerySingleResource
Jun 18, 2019
Merged

returns error when resource not found by QuerySingleResource#15
jkralik merged 1 commit intomasterfrom
fixQuerySingleResource

Conversation

@jkralik
Copy link
Member

@jkralik jkralik commented Jun 18, 2019

No description provided.

@jkralik jkralik requested a review from cizmazia June 18, 2019 07:19
ok := it.Next(ctx, value)
if !ok {
return it.Err
return fmt.Errorf("resource not found for %s %+v", id, resourceTypes)

Choose a reason for hiding this comment

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

Thanks man!

@jkralik jkralik merged commit 5eaaca0 into master Jun 18, 2019
@jkralik jkralik deleted the fixQuerySingleResource branch June 18, 2019 07:23
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