Enable goconst & interfacer linters

This commit is contained in:
Andrey Smirnov committed 2017-05-17 00:53:10 +03:00
1 parent e396a2e6c3
commit 470165a419
26 files changed
+110 -82

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ import (
func aptlyRepoCreate(cmd *commander.Command, args []string) error {
var err error
if !(len(args) == 1 || (len(args) == 4 && args[1] == "from" && args[2] == "snapshot")) {
if !(len(args) == 1 || (len(args) == 4 && args[1] == "from" && args[2] == "snapshot")) { // nolint: goconst
cmd.Usage()
return commander.ErrCommandError
}