key cmd: fix codeclimate warnings
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com> This commit was moved from ipfs/interface-go-ipfs-core@814f82cf806d4fefc9f5158e85807b4c96751637 This commit was moved from ipfs/boxo@55223e9427daacfa41800357a551aad8bce06ea1
Łukasz Magiera committed
Aug 7, 2018 at 15:10 UTC
16c6be00861e9c59cb66bad9a412a94d61db64a9
1 file changed
+2
-2
core/coreiface/key.go
+2
-2
@@ -16,8 +16,8 @@ type Key interface {
16
// Path returns key path
17
Path() Path
18
19
- // Id returns key PeerID
20
- Id() peer.ID
19
+ // ID returns key PeerID
20
+ ID() peer.ID
21
}
22
23
// KeyAPI specifies the interface to Keystore