Skip to content

store.getNetworksFromStore() remove unused error return#2556

Merged
arkodg merged 1 commit into
moby:masterfrom
thaJeztah:remove_unused_error
May 29, 2020
Merged

store.getNetworksFromStore() remove unused error return#2556
arkodg merged 1 commit into
moby:masterfrom
thaJeztah:remove_unused_error

Conversation

@thaJeztah

Copy link
Copy Markdown
Member

noticed this while reviewing #2554, so thought I'd open as a pull request

This function always returned nil, so we can remove the error return, and update other functions that were handling errors.

This function always returned `nil`, so we can remove the error
return, and update other functions that were handling errors.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah

Copy link
Copy Markdown
Member Author

ping @arkodg @xinfengliu PTAL

@arkodg arkodg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@xinfengliu xinfengliu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

+1 LGTM

@arkodg
arkodg merged commit ca3700b into moby:master May 29, 2020
@thaJeztah
thaJeztah deleted the remove_unused_error branch May 29, 2020 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants