Merge branch 'master' into meta-keys-func

This commit is contained in:
saxon 2019-02-11 15:01:49 +10:30
commit 934653991d
4 changed files with 3 additions and 4 deletions

View File

@ -13,6 +13,8 @@ jobs:
steps: steps:
- checkout - checkout
- run: git clone --depth=1 https://bitbucket.org/ausocean/test.git ${GOPATH}/src/bitbucket.org/ausocean/test
- restore_cache: - restore_cache:
keys: keys:
- v1-pkg-cache - v1-pkg-cache

View File

@ -209,10 +209,7 @@ func main() {
packetNo++ packetNo++
// Get the pid from the packet // Get the pid from the packet
pid, err := packet.Pid((*packet.Packet)(&p)) pid := packet.Pid((*packet.Packet)(&p))
if err != nil {
panic(errCantGetPid)
}
// Get the cc from the packet and also the expected cc (if exists) // Get the cc from the packet and also the expected cc (if exists)
cc := p.CC() cc := p.CC()