Skip to content

Commit

Permalink
fix(cli): remove extraneous logging from qri registry prove
Browse files Browse the repository at this point in the history
also added a stderr success printout. logging is still accessible if lib's logging level is debug

closes #1096
  • Loading branch information
b5 committed Feb 6, 2020
1 parent dadc2a6 commit de640a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func (o *RegistryOptions) Prove() error {
if err := o.RegistryClientMethods.ProveProfileKey(p, &ok); err != nil {
return err
}

printSuccess(o.ErrOut, "proved user %s to registry, connected local key", o.Username)
return nil
}

Expand Down
2 changes: 1 addition & 1 deletion lib/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (m RegistryClientMethods) ProveProfileKey(p *RegistryProfile, ok *bool) err
return err
}

log.Errorf("prove profile response: %v", pro)
log.Debugf("prove profile response: %v", pro)
*p = *pro

return m.updateConfig(pro)
Expand Down

0 comments on commit de640a2

Please sign in to comment.