Skip to content
Snippets Groups Projects
Commit 9880bdec authored by ko_oler's avatar ko_oler
Browse files

переименован CheckState на IsWriteAvailable

parent cb4e4658
No related branches found
No related tags found
No related merge requests found
...@@ -64,7 +64,7 @@ func IsSpaceAvailable(ctx context.Context, spcs Spaces, spaceId string) error { ...@@ -64,7 +64,7 @@ func IsSpaceAvailable(ctx context.Context, spcs Spaces, spaceId string) error {
return nil return nil
} }
func CheckState(ctx context.Context, spcs Spaces, spaceID string) error { func IsWriteAvailable(ctx context.Context, spcs Spaces, spaceID string) error {
sp, err := spcs.Get(ctx, spaceID) sp, err := spcs.Get(ctx, spaceID)
if err != nil { if err != nil {
return errors.Wrap(err, "fail to get space") return errors.Wrap(err, "fail to get space")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment