Improve status module

This commit is contained in:
Daniel
2019-01-29 16:20:06 +01:00
parent e8b5cedc9d
commit 321f3feec5
13 changed files with 342 additions and 107 deletions

View File

@@ -135,7 +135,7 @@ func EnsureProfile(r record.Record) (*Profile, error) {
// or adjust type
new, ok := r.(*Profile)
if !ok {
return nil, fmt.Errorf("record not of type *Example, but %T", r)
return nil, fmt.Errorf("record not of type *Profile, but %T", r)
}
return new, nil
}