d97927ebcf
Use glint to determine if os.Stdout is a terminal.
glint Terminal renderer expects os.Stdout [not only to be a terminal, but also to have non-zero size](b492b545f6/renderer_term.go (L39-L46)
). It's unclear how this condition arises, but this additional check causes Nomad to render deployments progress through glint when glint cannot support it.
By using golint to perform the check, we eliminate the risk of mis-judgement.
4 lines
102 B
Plaintext
4 lines
102 B
Plaintext
```release-note:bug
|
|
cli: Fixed a panic when deployment monitor is invoked in some CI environments
|
|
```
|