WIP: Morph: Add unit tests #2

Closed
dstepanov-yadro wants to merge 233 commits from TrueCloudLab/frostfs-node:master into object-3608-morph-unit-tests
Showing only changes of commit ab489265b3 - Show all commits

View file

@ -71,7 +71,9 @@ func getByPath(cmd *cobra.Command, _ []string) {
Path: strings.Split(path, "/"),
LatestOnly: latestOnly,
AllAttributes: true,
BearerToken: common.ReadBearerToken(cmd, bearerFlagKey).Marshal(),
}
if btok := common.ReadBearerToken(cmd, bearerFlagKey); btok != nil {
req.Body.BearerToken = btok.Marshal()
}
commonCmd.ExitOnErr(cmd, "message signing: %w", tree.SignMessage(req, pk))