forked from TrueCloudLab/frostfs-sdk-go
[#131] client: Name all methods and types the same way
Inherit name format of object operations in all other ones. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
998bae3f1c
commit
69ffface78
16 changed files with 235 additions and 235 deletions
|
@ -18,7 +18,7 @@ import (
|
|||
var (
|
||||
errNilBearerToken = errors.New("bearer token is not set")
|
||||
errNilBearerTokenBody = errors.New("bearer token body is not set")
|
||||
errNilBearerTokenEACL = errors.New("bearer token EACL table is not set")
|
||||
errNilBearerTokenEACL = errors.New("bearer token ContainerEACL table is not set")
|
||||
)
|
||||
|
||||
type BearerToken struct {
|
||||
|
@ -178,7 +178,7 @@ func sanityCheck(b *BearerToken) error {
|
|||
return errNilBearerTokenEACL
|
||||
}
|
||||
|
||||
// consider checking EACL sanity there, lifetime correctness, etc.
|
||||
// consider checking ContainerEACL sanity there, lifetime correctness, etc.
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue