commit | 31b3413337a7cec43221c13a5ddcf8737e41688e | [log] [tgz] |
---|---|---|
author | Robin Thellend <rthellend@google.com> | Mon May 09 15:36:10 2016 -0700 |
committer | Robin Thellend <rthellend@google.com> | Mon May 09 15:36:23 2016 -0700 |
tree | d9929534dc01362a1e3cf65cb9198550f9248086 | |
parent | 3bcc33e292ff7de0fef90caa7a74fcc7ff8911a9 [diff] |
runtime/internal: Enforce CloudVM invariant InitCloudVM should always be called before CloudVMPublicAddress, otherwise it will return the wrong result. The rest of the code is structured in such a way that InitCloudVM should always be called first. However, we had a instance where CloudVMPublicAddress apparently returned the wrong result, just as if it had been called before InitCloudVM. For now, we will panic() if CloudVMPublicAddress is ever called first. Change-Id: Ib569dcaf1ab63d5cdcb0c2706d11411fc398d09f
This repository contains a reference implementation of the Vanadium APIs.
Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.