(logs *management.LogStream)
| 94 | } |
| 95 | |
| 96 | func (r *Renderer) LogStreamUpdate(logs *management.LogStream) error { |
| 97 | r.Heading("log streams updated") |
| 98 | view, err := makeLogStreamView(logs) |
| 99 | if err != nil { |
| 100 | return err |
| 101 | } |
| 102 | r.Result(view) |
| 103 | |
| 104 | return nil |
| 105 | } |
| 106 | |
| 107 | func makeLogStreamView(logs *management.LogStream) (*logStreamView, error) { |
| 108 | config, err := toJSONString(logs.GetPIIConfig()) |
no test coverage detected