summaryrefslogtreecommitdiff
path: root/owner
diff options
context:
space:
mode:
authorVitaly Minko <vitaly.minko@gmail.com>2018-11-04 17:10:34 +0300
committerVitaly Minko <vitaly.minko@gmail.com>2018-11-04 17:10:34 +0300
commite1be8978f6bada8bd4bb548bae277526cb4b8804 (patch)
tree1cc695ecf57c196f8982310c42146184a8f7209b /owner
parent6beb930e2a05af9d0a6c0d3c3d2f151f2806d033 (diff)
Replaced all methods Desc() with String().
Diffstat (limited to 'owner')
-rw-r--r--owner/owner.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/owner/owner.go b/owner/owner.go
index 1feda5a..709cc5f 100644
--- a/owner/owner.go
+++ b/owner/owner.go
@@ -97,7 +97,7 @@ func Register(dir, nickname, info string, subs subs.Subscriptions, s *storage.St
return err
}
log.Debugf("Dumping emerged User %s:", nickname)
- log.Debug(user.String())
+ log.Debug(user.Dump())
err = s.PutEntity((entity.Entity)(user), nil)
if err != nil {
@@ -136,7 +136,7 @@ func New(dir, nickname string, stor *storage.Storage) (*Owner, error) {
return nil, err
}
log.Debug("Dumping fetched User:")
- log.Debug(u.String())
+ log.Debug(u.Dump())
subsPath := filepath.Join(userDir, subscriptionsFileName)
sub, err := subs.ReadFile(subsPath)