Skip to content

store.getNetworksFromStore() remove unused error return#2556

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

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

Conversation

@thaJeztah
Copy link
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 <github@gone.nl>
@thaJeztah
Copy link
Member Author

ping @arkodg @xinfengliu PTAL

Copy link
Contributor

@arkodg arkodg left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@xinfengliu xinfengliu left a comment

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