Skip to content

log: fix error found by vet#6

Open
functionary wants to merge 1 commit into
szxp:masterfrom
functionary:autofix-f649
Open

log: fix error found by vet#6
functionary wants to merge 1 commit into
szxp:masterfrom
functionary:autofix-f649

Conversation

@functionary

Copy link
Copy Markdown

This pull request was made with an automated tool.

The suggested change fixes one or more problems discovered by "go vet".

See https://github.com/functionary/functionary for more details on
the @functionary GitHub user.

Vet found the following error:
	log.go:416: comparison of function onError != nil is always true

The function can never be nil. Delete the needless test.
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.

1 participant