Merge pull request #5646 from hashicorp/some-ugorji-fixes

Codegen codec helpers for all nomad structs
This commit is contained in:
Mahmood Ali 2019-05-06 13:23:12 -04:00 committed by GitHub
commit f35ad92a8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
set -e set -e
FILES="$(ls *[!_test].go | tr '\n' ' ')" FILES="$(ls ./*.go | grep -v -e _test.go -e .generated.go | tr '\n' ' ')"
codecgen -d 100 -o structs.generated.go ${FILES} codecgen -d 100 -o structs.generated.go ${FILES}

View File

@ -3,7 +3,7 @@
set -e set -e
# Match entry in vendor.json # Match entry in vendor.json
GIT_TAG="v1.1.2" GIT_TAG="0053ebfd9d0ee06ccefbfe17072021e1d4acebee"
echo "Installing codec/codecgen@${GIT_TAG} ..." echo "Installing codec/codecgen@${GIT_TAG} ..."
# Either fetch in existing git repo or use go get to clone # Either fetch in existing git repo or use go get to clone