generated from TrueCloudLab/basic
[#56] Fix pre-commit issue
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
parent
c13ed8447a
commit
8cb2de05ab
4 changed files with 5 additions and 5 deletions
2
.gitattributes
vendored
2
.gitattributes
vendored
|
@ -1,4 +1,4 @@
|
|||
/**/*.pb.go -diff -merge
|
||||
/**/*.pb.go linguist-generated=true
|
||||
/**/*_easyjson.go -diff -merge
|
||||
/**/*_easyjson.go linguist-generated=true
|
||||
/**/*_easyjson.go linguist-generated=true
|
||||
|
|
2
Makefile
2
Makefile
|
@ -73,4 +73,4 @@ generate:
|
|||
make easyjson-install; \
|
||||
fi
|
||||
find ./ -name "_easyjson.go" -exec rm -rf {} \;
|
||||
$(EASYJSON_DIR)/easyjson ./pkg/chain/chain.go
|
||||
$(EASYJSON_DIR)/easyjson ./pkg/chain/chain.go
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# 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,
|
||||
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).
|
||||
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.
|
||||
|
|
2
pkg/chain/testdata/test_status_json.json
vendored
2
pkg/chain/testdata/test_status_json.json
vendored
|
@ -72,4 +72,4 @@
|
|||
}
|
||||
],
|
||||
"MatchType": "FirstMatch"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue