Remove github.com/2opremio/go-1/codec

* Bump github.com/ugorji/go/codec, to get fixes which make
  github.com/2opremio/go-1/codec unnecessary

* Remove github.com/2opremio/go-1/codec

* Remove type embeddings to avoid the problem explained at
  https://github.com/ugorji/go/issues/141#issuecomment-185450157
This commit is contained in:
Alfonso Acosta
2016-02-18 00:02:10 +00:00
parent 07d34205ce
commit 6ac176a492
64 changed files with 63 additions and 56648 deletions

View File

@@ -169,7 +169,7 @@ export function getApiDetails() {
export function doControlRequest(nodeId, control) {
clearTimeout(controlErrorTimer);
const url = `api/control/${encodeURIComponent(control.probeId)}/`
+ `${encodeURIComponent(control.nodeId)}/${control.id}`;
+ `${encodeURIComponent(control.nodeId)}/${control.control.id}`;
reqwest({
method: 'POST',
url: url,