Skip to content

Commit

Permalink
fixed verbose issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tikazyq committed Jul 16, 2021
1 parent 6e3133a commit e336a06
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions models/client/model_delegate.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,17 +107,17 @@ type ModelDelegate struct {

func (d *ModelDelegate) Add() (err error) {
_, err = d.do(interfaces.ModelDelegateMethodAdd)
return trace.TraceError(err)
return err
}

func (d *ModelDelegate) Save() (err error) {
_, err = d.do(interfaces.ModelDelegateMethodSave)
return trace.TraceError(err)
return err
}

func (d *ModelDelegate) Delete() (err error) {
_, err = d.do(interfaces.ModelDelegateMethodDelete)
return trace.TraceError(err)
return err
}

func (d *ModelDelegate) GetArtifact() (res interfaces.ModelArtifact, err error) {
Expand Down

0 comments on commit e336a06

Please sign in to comment.