forked from TrueCloudLab/frostfs-node
[#1392] eacl/v2: Use EncodeToString
where possible
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
63cdc16088
commit
3f2889a4e9
1 changed files with 2 additions and 2 deletions
|
@ -205,14 +205,14 @@ func (h *cfg) localObjectHeaders(addr *objectSDKAddress.Address) ([]eaclSDK.Head
|
||||||
func cidHeader(idCnr cid.ID) sysObjHdr {
|
func cidHeader(idCnr cid.ID) sysObjHdr {
|
||||||
return sysObjHdr{
|
return sysObjHdr{
|
||||||
k: acl.FilterObjectContainerID,
|
k: acl.FilterObjectContainerID,
|
||||||
v: idCnr.String(),
|
v: idCnr.EncodeToString(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func oidHeader(oid objectSDKID.ID) sysObjHdr {
|
func oidHeader(oid objectSDKID.ID) sysObjHdr {
|
||||||
return sysObjHdr{
|
return sysObjHdr{
|
||||||
k: acl.FilterObjectID,
|
k: acl.FilterObjectID,
|
||||||
v: oid.String(),
|
v: oid.EncodeToString(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue