mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
monitor command takes no args
rm extra new line fix lint errors return after close fix, simplify test
This commit is contained in:
@@ -29,10 +29,6 @@ func NewAgentEndpoint(c *Client) *Agent {
|
||||
return m
|
||||
}
|
||||
|
||||
type monitorFrame struct {
|
||||
Data []byte `json:",omitempty"`
|
||||
}
|
||||
|
||||
func (m *Agent) monitor(conn io.ReadWriteCloser) {
|
||||
defer metrics.MeasureSince([]string{"client", "monitor", "monitor"}, time.Now())
|
||||
defer conn.Close()
|
||||
|
||||
Reference in New Issue
Block a user