Skip to content
This repository was archived by the owner on Jul 31, 2025. It is now read-only.

Conversation

@lucab
Copy link
Contributor

@lucab lucab commented Jul 6, 2017

This introduces and explicit nil-check on the metadata store in
NewNotaryRepository(), to match the docstring and to avoid further
panics at runtime.
It also clarifies the default behavior in case of a nil remote store and of
a nil roundtripper.

Signed-off-by: Luca Bruno [email protected]

lucab added 3 commits July 6, 2017 15:42
This introduce and explicit nil-check on the metadata store in
`NewNotaryRepository()`, to match the docstring and to avoid further
panics at runtime.
It also clarify the default behavior in case of a nil remote store.

Signed-off-by: Luca Bruno <[email protected]>
@docker-jenkins
Copy link

Can one of the admins verify this patch?

@riyazdf
Copy link
Contributor

riyazdf commented Jul 6, 2017

jenkins, test this please

Copy link
Contributor

@riyazdf riyazdf left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @lucab!

@endophage
Copy link
Contributor

LGTM thanks!

@riyazdf riyazdf merged commit c251b85 into notaryproject:master Jul 6, 2017
@notaryproject notaryproject deleted a comment from docker-jenkins Jul 7, 2017
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.

4 participants