mirror of
https://github.com/muesli/mastotool
synced 2024-12-27 18:03:09 +01:00
Remove obsolete Config.Set return value
This commit is contained in:
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
Block a user