diff options
author | Tyler Cipriani <tcipriani@wikimedia.org> | 2018-09-13 11:25:07 -0600 |
---|---|---|
committer | Tyler Cipriani <tcipriani@wikimedia.org> | 2018-09-13 11:25:07 -0600 |
commit | eba4cf6390bf1eee05bc4b1cec97a87abe0f6dfd (patch) | |
tree | 199085a5d4765ab2863d9aaa3f63861b045ecb1d /cmd/blubber | |
parent | fa5d440f4fd50ab9f91bd9eeb134037b7341fa65 (diff) | |
download | blubber-eba4cf6390bf1eee05bc4b1cec97a87abe0f6dfd.tar.gz |
Remove some types that will be inferred
Adding types to variables that would have their types inferred from
function return types causes lint errors in go1.10.3 (my local machine).
Change-Id: I71ffbe7843084b4bd22b15ed223ed05d4ccc9aaa
Diffstat (limited to 'cmd/blubber')
-rw-r--r-- | cmd/blubber/main.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/blubber/main.go b/cmd/blubber/main.go index 53009ea..9160e06 100644 --- a/cmd/blubber/main.go +++ b/cmd/blubber/main.go @@ -17,9 +17,9 @@ import ( const parameters = "config.yaml variant" var ( - showHelp *bool = getopt.BoolLong("help", 'h', "show help/usage") - showVersion *bool = getopt.BoolLong("version", 'v', "show version information") - policyURI *string = getopt.StringLong("policy", 'p', "", "policy file URI", "uri") + showHelp = getopt.BoolLong("help", 'h', "show help/usage") + showVersion = getopt.BoolLong("version", 'v', "show version information") + policyURI = getopt.StringLong("policy", 'p', "", "policy file URI", "uri") ) func main() { |