Fixed error

This commit is contained in:
Unknown 2018-01-24 13:01:33 +10:30
parent 98699a455c
commit a40f4a7236
1 changed files with 3 additions and 3 deletions

View File

@ -110,7 +110,7 @@ type RevidInst interface {
Stop() Stop()
ChangeState(newconfig Config) error ChangeState(newconfig Config) error
GetConfigRef() *Config GetConfigRef() *Config
Log(type, m string) Log(logType, m string)
IsRunning() bool IsRunning() bool
} }
@ -170,8 +170,8 @@ func (r *revidInst) ChangeState(newconfig Config) error {
return nil return nil
} }
func (r *revidInst) Log(type, m string){ func (r *revidInst) Log(logType, m string){
r.config.Logger.Log(type,m) r.config.Logger.Log(logType,m)
} }
func (r *revidInst)IsRunning() bool { func (r *revidInst)IsRunning() bool {