diff --git a/revid/revid.go b/revid/revid.go index 04ffd9ad..21ead9a2 100644 --- a/revid/revid.go +++ b/revid/revid.go @@ -208,8 +208,8 @@ func (r *Revid) reset(config Config) error { return nil } -// ChangeConfig changes the current configuration of the Revid instance. -func (r *Revid) ChangeConfig(c Config) error { +// SetConfig changes the current configuration of the receiver. +func (r *Revid) SetConfig(c Config) error { // FIXME(kortschak): This is reimplemented in cmd/revid-cli/main.go. // The implementation in the command is used and this is not. // Decide on one or the other.