forked from TrueCloudLab/frostfs-node
[#216] blobovnicza: Change ID stringer
Replace hex encoding with slice to string conversion. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
07e998d846
commit
35ccda13a8
1 changed files with 1 additions and 5 deletions
|
@ -1,9 +1,5 @@
|
|||
package blobovnicza
|
||||
|
||||
import (
|
||||
"encoding/hex"
|
||||
)
|
||||
|
||||
// ID represents Blobovnicza identifier.
|
||||
type ID []byte
|
||||
|
||||
|
@ -13,5 +9,5 @@ func NewIDFromBytes(v []byte) *ID {
|
|||
}
|
||||
|
||||
func (id ID) String() string {
|
||||
return hex.EncodeToString(id)
|
||||
return string(id)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue