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

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

parent cb4e4658
Branches
Tags
No related merge requests found
......@@ -64,7 +64,7 @@ func IsSpaceAvailable(ctx context.Context, spcs Spaces, spaceId string) error {
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)
if err != nil {
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