Skip to content

Commit

Permalink
add omitempty to new struct field
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismarget-j committed Dec 27, 2024
1 parent c086df4 commit d0ef7e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apstra/api_system_agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
const apiUrlSystemAgentManagerConfig = "/api/system-agent/manager-config"

type SystemAgentManagerConfig struct {
DeviceOsImageDownloadTimeout *int `json:"device_os_image_download_timeout"` // introduced in and required by 5.1.0 (1-2700)
DeviceOsImageDownloadTimeout *int `json:"device_os_image_download_timeout,omitempty"` // introduced in and required by 5.1.0 (1-2700)
SkipRevertToPristineOnUninstall bool `json:"skip_revert_to_pristine_on_uninstall"`
SkipPristineValidation bool `json:"skip_pristine_validation"`
SkipInterfaceShutdownOnUpgrade bool `json:"skip_interface_shutdown_on_upgrade"`
Expand Down

0 comments on commit d0ef7e5

Please sign in to comment.