Skip to content

Commit

Permalink
refactor: RouterID is optional
Browse files Browse the repository at this point in the history
RouterID is optional in the CMDB but was not in the data aggregation
api, causing potential build failure.
  • Loading branch information
kpetremann committed Feb 20, 2024
1 parent 2224187 commit e458a61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/model/cmdb/bgp/global.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ type BGPGlobal struct {
GracefulRestartTime *uint16 `json:"graceful_restart_time" validate:"omitempty"`
EcmpEnabled *bool `json:"ecmp" validate:"required"`
EcmpMaximumPaths *uint32 `json:"ecmp_maximum_paths" validate:"omitempty"`
RouterID string `json:"router_id" validate:"required"`
RouterID string `json:"router_id" validate:"omitempty"`
}

0 comments on commit e458a61

Please sign in to comment.