forked from TrueCloudLab/policy-engine
[#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 -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
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -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
|
||||||
|
|
|
@ -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.
|
||||||
|
|
2
pkg/chain/testdata/test_status_json.json
vendored
2
pkg/chain/testdata/test_status_json.json
vendored
|
@ -72,4 +72,4 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"MatchType": "FirstMatch"
|
"MatchType": "FirstMatch"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue