Skip to content

Conversation

@dcantah
Copy link
Contributor

@dcantah dcantah commented Feb 26, 2021

If nil options were passed for Create or Open both methods would run into a
nil dereference even though for Create it states that it will just use default options.

For Open you can't open without a name so if nil options are passed just return an error.

Signed-off-by: Daniel Canter [email protected]

If nil options were passed for `Create` or `Open` both methods would run into a
nil dereference even though for `Create` it states that it will just use default options.

For `Open` you can't open without a name so if nil options are passed just return an error.

Signed-off-by: Daniel Canter <[email protected]>
@dcantah dcantah requested a review from a team as a code owner February 26, 2021 10:47
Copy link
Member

@kevpar kevpar left a comment

Choose a reason for hiding this comment

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

LGTM

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