Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
```
> go vet config_flag_test.go
config_flag_test.go:13: github.com/nsqio/go-nsq.ConfigFlag composite literal uses unkeyed fields
```
  • Loading branch information
vlastv authored Feb 14, 2017
1 parent a53d495 commit 15225f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config_flag.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

// ConfigFlag wraps a Config and implements the flag.Value interface
type ConfigFlag struct {
*Config
Config *Config
}

// Set takes a comma separated value and follows the rules in Config.Set
Expand Down

0 comments on commit 15225f2

Please sign in to comment.