mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-18 15:23:51 +01: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"`
|
||||
Name string `json:"name"`
|
||||
Runtime ContainerRuntime `json:"runtime"`
|
||||
StreamPort int `json:"stream_port"`
|
||||
StreamPort int `json:"stream_port,omitempty"`
|
||||
}
|
||||
|
||||
// Deprecated. Replaced by EndpointInfo
|
||||
|
||||
Reference in New Issue
Block a user