mirror of https://github.com/docker/cli.git
bump github.com/xeipuuv/gojsonpointer 02993c407bfbf5f6dae44c4f4b1cf6a39b5fc5bb
full diff: 4e3ac2762d...02993c407b
only a gofmt and documentation change
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
06f34ba507
commit
7b8c6a6325
|
@ -76,7 +76,7 @@ github.com/syndtr/gocapability d98352740cb2c55f81556b63d4a1
|
||||||
github.com/theupdateframework/notary d6e1431feb32348e0650bf7551ac5cffd01d857b # v0.6.1
|
github.com/theupdateframework/notary d6e1431feb32348e0650bf7551ac5cffd01d857b # v0.6.1
|
||||||
github.com/tonistiigi/fsutil 7f9f9232dd24c4c9c68ab3c8030c4edcaeac1c32
|
github.com/tonistiigi/fsutil 7f9f9232dd24c4c9c68ab3c8030c4edcaeac1c32
|
||||||
github.com/tonistiigi/units 6950e57a87eaf136bbe44ef2ec8e75b9e3569de2
|
github.com/tonistiigi/units 6950e57a87eaf136bbe44ef2ec8e75b9e3569de2
|
||||||
github.com/xeipuuv/gojsonpointer 4e3ac2762d5f479393488629ee9370b50873b3a6
|
github.com/xeipuuv/gojsonpointer 02993c407bfbf5f6dae44c4f4b1cf6a39b5fc5bb
|
||||||
github.com/xeipuuv/gojsonreference bd5ef7bd5415a7ac448318e64f11a24cd21e594b
|
github.com/xeipuuv/gojsonreference bd5ef7bd5415a7ac448318e64f11a24cd21e594b
|
||||||
github.com/xeipuuv/gojsonschema f971f3cd73b2899de6923801c147f075263e0c50 # v1.1.0
|
github.com/xeipuuv/gojsonschema f971f3cd73b2899de6923801c147f075263e0c50 # v1.1.0
|
||||||
golang.org/x/crypto 88737f569e3a9c7ab309cdc09a07fe7fc87233c3
|
golang.org/x/crypto 88737f569e3a9c7ab309cdc09a07fe7fc87233c3
|
||||||
|
|
|
@ -35,7 +35,7 @@ An implementation of JSON Pointer - Go language
|
||||||
|
|
||||||
|
|
||||||
## References
|
## References
|
||||||
http://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-07
|
https://tools.ietf.org/html/rfc6901
|
||||||
|
|
||||||
### Note
|
### Note
|
||||||
The 4.Evaluation part of the previous reference, starting with 'If the currently referenced value is a JSON array, the reference token MUST contain either...' is not implemented.
|
The 4.Evaluation part of the previous reference, starting with 'If the currently referenced value is a JSON array, the reference token MUST contain either...' is not implemented.
|
||||||
|
|
|
@ -133,7 +133,7 @@ func (p *JsonPointer) implementation(i *implStruct) {
|
||||||
} else if isLastToken && i.mode == "DEL" {
|
} else if isLastToken && i.mode == "DEL" {
|
||||||
delete(v, decodedToken)
|
delete(v, decodedToken)
|
||||||
}
|
}
|
||||||
} else if (isLastToken && i.mode == "SET") {
|
} else if isLastToken && i.mode == "SET" {
|
||||||
v[decodedToken] = i.setInValue
|
v[decodedToken] = i.setInValue
|
||||||
} else {
|
} else {
|
||||||
i.outError = fmt.Errorf("Object has no key '%s'", decodedToken)
|
i.outError = fmt.Errorf("Object has no key '%s'", decodedToken)
|
||||||
|
|
Loading…
Reference in New Issue