Nick Ethier
468baf9823
Merge pull request #4239 from hashicorp/f-short-init
...
command: init -short flag
2018-05-02 13:49:44 -04:00
Michael Schurter
8c2fb3a58a
Merge pull request #4235 from portworx/master
...
Add Portworx Blog link
2018-05-02 10:49:00 -07:00
Michael Schurter
526af6a246
framer: fix early exit/truncation in framer
2018-05-02 10:46:16 -07:00
Michael Schurter
f1a6aa103a
framer: fix race and remove unused error var
...
In the old code `sending` in the `send()` method shared the Data slice's
underlying backing array with its caller. Clearing StreamFrame.Data
didn't break the reference from the sent frame to the StreamFramer's
data slice.
2018-05-02 10:46:16 -07:00
Michael Schurter
5d6bf2938f
client: use a bytes.Reader for reading a []byte
2018-05-02 10:46:16 -07:00
Michael Schurter
7360fe3a6d
client: squelch errors on cleanly closed pipes
2018-05-02 10:46:16 -07:00
Michael Schurter
ffff97e25f
client: don't spin on read errors
2018-05-02 10:46:16 -07:00
Michael Schurter
e00e265da5
client: ensure cancel is always called when func exits
2018-05-02 10:46:16 -07:00
Michael Schurter
d21b749c68
client: give pipe conns meaningful names
2018-05-02 10:46:16 -07:00
Michael Schurter
5ef0a82e6e
client: reset encoders between uses
...
According to go/codec's docs, Reset(...) should be called on
Decoders/Encoders before reuse:
https://godoc.org/github.com/ugorji/go/codec
I could find no evidence that *not* calling Reset() caused bugs, but
might as well do what the docs say?
2018-05-02 10:46:16 -07:00
Michael Schurter
949938534b
api: never return EOF from Logs error chan
...
Closing the frames chan is the only race-free way to signal to receivers
that all frames have been sent and no errors have occurred.
If EOF is sent on error chan receivers may not receive the last frame
(or frames since the chan is buffered) before receiving the error.
Closing frames is the idiomatic way of signaling there is no more data
to be read from a chan.
2018-05-02 10:46:16 -07:00
Michael Schurter
6f0e2e808b
tests: test logs from client<->api package
2018-05-02 10:46:16 -07:00
Preetha
77642579d5
Merge pull request #4240 from hashicorp/f-add-reschedule-tracker-allocslist
...
Add RescheduleTracker to allocs list stub struct
2018-05-01 15:19:50 -05:00
Preetha Appan
274bed1892
Add RescheduleTracker to allocs list stub struct
2018-05-01 14:53:47 -05:00
Nick Ethier
842ed14e3f
command: add '-short' flag to init command that emits minimal jobspec
2018-05-01 12:51:13 -04:00
Jeff Silberman
c6c9d5a3ce
Add Portworx Blog link
2018-04-30 17:25:59 -07:00
Michael Schurter
e1cd5af0be
Merge pull request #4225 from cryptomeme/patch-1
...
Missed change to `alloc status` from `alloc-status`
2018-04-30 11:04:16 -07:00
Alex Dadgar
de4af37249
version bump and remove generated
2018-04-27 11:10:00 -07:00
Alex Dadgar
d1be37358f
website bump
2018-04-27 11:07:23 -07:00
Alex Dadgar
ba46a799a6
Release v0.8.3
2018-04-27 11:04:17 -07:00
Alex Dadgar
28b4681f7e
Merge branch 'master' of github.com:hashicorp/nomad
2018-04-27 10:50:12 -07:00
Michael Lange
d5b2fe472e
Merge pull request #4229 from hashicorp/je.bugfix
...
Fix js syntax error, resolve fout issues
2018-04-27 10:49:27 -07:00
Alex Dadgar
845a43864a
generated files
2018-04-27 10:45:40 -07:00
Alex Dadgar
ae0ae4d82d
bump version
2018-04-27 10:42:49 -07:00
Alex Dadgar
b5f15ffd63
changelog
2018-04-27 10:42:17 -07:00
Alex Dadgar
3eed6aabf9
Merge pull request #4231 from hashicorp/b-no-node-panic
...
Fix issue where node connection map wasn't being pruned
2018-04-27 10:38:35 -07:00
Alex Dadgar
d03c881802
small cleanup and logging
2018-04-27 10:36:28 -07:00
Alex Dadgar
da3a552d8d
Fix issue where node connection map wasn't being pruned
2018-04-27 10:16:03 -07:00
Jeff Escalante
6dabdc235e
fix js syntax error, resolve fout issues
2018-04-27 12:26:07 -04:00
Damon Buckwalter
686c246ec1
Missed change to alloc status
from alloc-status
2018-04-26 16:55:02 -07:00
Alex Dadgar
e84aabf8bd
website version
2018-04-26 16:49:53 -07:00
Alex Dadgar
35e06ddb31
Remove generated and version bump
2018-04-26 16:49:19 -07:00
Alex Dadgar
f5de7526dc
Release v0.8.2
2018-04-26 16:45:33 -07:00
Alex Dadgar
0b3e76fe73
ignore tags
2018-04-26 16:35:13 -07:00
Alex Dadgar
43192cefae
generated files
2018-04-26 16:28:58 -07:00
Alex Dadgar
b203538cd5
bump version
2018-04-26 16:26:27 -07:00
Alex Dadgar
acfddd5f68
changelog
2018-04-26 16:24:02 -07:00
Alex Dadgar
265a6d4f8b
Merge pull request #4224 from hashicorp/b-cron-parse
...
Handle potential panic in cron parsing
2018-04-26 16:22:37 -07:00
Michael Schurter
7cac72f14e
docs: add #4170 to changelog
2018-04-26 16:18:03 -07:00
Alex Dadgar
cf431224a7
changelog fmt
2018-04-26 16:09:34 -07:00
Alex Dadgar
05eccb063f
Merge branch 'b-cron-parse' of github.com:hashicorp/nomad into b-cron-parse
2018-04-26 15:51:56 -07:00
Alex Dadgar
ea24513d38
Allow nomad to restore bad periodic job
2018-04-26 15:51:47 -07:00
Chelsea Holland Komlo
ce1c3e0c2d
add unit tests for panic cron parsing bug
...
add comments for cron parsing wrapper
2018-04-26 18:47:08 -04:00
Alex Dadgar
15ad3f94af
Fix command line
2018-04-26 15:46:22 -07:00
Alex Dadgar
8a128325f9
Merge pull request #4220 from hashicorp/b-operator
...
Generate all structs in structs packages
2018-04-26 15:26:17 -07:00
Alex Dadgar
51252e5568
Changelog
2018-04-26 15:25:53 -07:00
Alex Dadgar
3fab4b0d09
Keep client simple
2018-04-26 15:24:53 -07:00
Alex Dadgar
dc2907c2c9
Codecgen full package
2018-04-26 15:24:53 -07:00
Alex Dadgar
bcec68d41d
Travis tests binary built with generated files
2018-04-26 15:24:53 -07:00
Alex Dadgar
d0f237086b
UX touchups
2018-04-26 15:24:27 -07:00