mirror of https://bitbucket.org/ausocean/av.git
revid: rename ChangeConfig to SetConfig
This commit is contained in:
parent
ed923ed256
commit
a7d3edbe57
|
@ -208,8 +208,8 @@ func (r *Revid) reset(config Config) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// ChangeConfig changes the current configuration of the Revid instance.
|
// SetConfig changes the current configuration of the receiver.
|
||||||
func (r *Revid) ChangeConfig(c Config) error {
|
func (r *Revid) SetConfig(c Config) error {
|
||||||
// FIXME(kortschak): This is reimplemented in cmd/revid-cli/main.go.
|
// FIXME(kortschak): This is reimplemented in cmd/revid-cli/main.go.
|
||||||
// The implementation in the command is used and this is not.
|
// The implementation in the command is used and this is not.
|
||||||
// Decide on one or the other.
|
// Decide on one or the other.
|
||||||
|
|
Loading…
Reference in New Issue