Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

Fix lint warning in Validate function #721

Merged
merged 1 commit into from
Jun 15, 2018
Merged

Conversation

janos
Copy link
Member

@janos janos commented Jun 15, 2018

Fixes:

swarm/storage/types.go:347:2:warning: should use 'return <expr>' instead of 'if <expr> { return <bool> }; return <bool>' (S1008) (gosimple)

@janos janos requested review from gbalint and acud June 15, 2018 12:59
@janos janos merged commit be1516f into swarm-network-rewrite Jun 15, 2018
@janos janos deleted the storage-lint-fix branch June 15, 2018 14:04
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.

3 participants