mirror of https://github.com/muesli/mastotool
Remove obsolete Config.Set return value
parent
9dfd746a5a
commit
77b97800fd
|
@ -44,7 +44,7 @@ func (c Config) Value(name string) interface{} {
|
|||
return nil
|
||||
}
|
||||
|
||||
func (c *Config) Set(name, value string) interface{} {
|
||||
func (c *Config) Set(name, value string) {
|
||||
found := false
|
||||
var opts []Option
|
||||
for _, v := range c.Options {
|
||||
|
@ -61,5 +61,4 @@ func (c *Config) Set(name, value string) interface{} {
|
|||
}
|
||||
|
||||
c.Options = opts
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue