mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-24 09:18:31 +02:00
fix(agent): add omitempty to stream_port in AgentInfo
This commit is contained in:
@@ -47,7 +47,7 @@ type AgentInfo struct {
|
|||||||
Version version.Version `json:"version" swaggertype:"string"`
|
Version version.Version `json:"version" swaggertype:"string"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Runtime ContainerRuntime `json:"runtime"`
|
Runtime ContainerRuntime `json:"runtime"`
|
||||||
StreamPort int `json:"stream_port"`
|
StreamPort int `json:"stream_port,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Deprecated. Replaced by EndpointInfo
|
// Deprecated. Replaced by EndpointInfo
|
||||||
|
|||||||
Reference in New Issue
Block a user