[#56] Fix pre-commit issue

Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
Anton Nikiforov 2024-03-07 13:54:30 +03:00
parent c13ed8447a
commit 8cb2de05ab
4 changed files with 5 additions and 5 deletions

2
.gitattributes vendored
View file

@ -1,4 +1,4 @@
/**/*.pb.go -diff -merge /**/*.pb.go -diff -merge
/**/*.pb.go linguist-generated=true /**/*.pb.go linguist-generated=true
/**/*_easyjson.go -diff -merge /**/*_easyjson.go -diff -merge
/**/*_easyjson.go linguist-generated=true /**/*_easyjson.go linguist-generated=true

View file

@ -73,4 +73,4 @@ generate:
make easyjson-install; \ make easyjson-install; \
fi fi
find ./ -name "_easyjson.go" -exec rm -rf {} \; find ./ -name "_easyjson.go" -exec rm -rf {} \;
$(EASYJSON_DIR)/easyjson ./pkg/chain/chain.go $(EASYJSON_DIR)/easyjson ./pkg/chain/chain.go

View file

@ -1,6 +1,6 @@
# Resource # Resource
From the point of the access policy engine, a resource is an object to which a request is being performed. From the point of the access policy engine, a resource is an object to which a request is being performed.
This can be an object in a container within a namespace, or all objects in a container, This can be an object in a container within a namespace, or all objects in a container,
or all containers within the root namespace etc. or all containers within the root namespace etc.
@ -17,4 +17,4 @@ wildcard (`native:object//cnrID/*`).
Check out formats that are defined in the schema: [native formats](../schema/native/consts.go), [s3 formats](../schema/s3/consts.go). Check out formats that are defined in the schema: [native formats](../schema/native/consts.go), [s3 formats](../schema/s3/consts.go).
You should validate a resource name using [util](../schema/native/util/validation.go) before instantiating a request or You should validate a resource name using [util](../schema/native/util/validation.go) before instantiating a request or
before putting it to either to local override storage or the policy contract storage. before putting it to either to local override storage or the policy contract storage.

View file

@ -72,4 +72,4 @@
} }
], ],
"MatchType": "FirstMatch" "MatchType": "FirstMatch"
} }