Skip to content

Commit

Permalink
move TODO to exclude it from generated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
chad-cwc committed Oct 11, 2023
1 parent 2be3cb5 commit ee15653
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bastionzero/service/targets/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ type CreateDatabaseTargetRequest struct {
TargetName string `json:"targetName"`
ProxyTargetID string `json:"proxyTargetId"`
RemoteHost string `json:"remoteHost"`
// TODO: To match REST API, change to: RemotePort *Port `json:"remotePort,omitempty"`
// and update the comment below in a batched breaking changes release

// RemotePort is required for all databases; however, for GCP-hosted databases, the
// value specified for Port.Value will be ignored when connecting to the database.
// TODO: To match REST API, change to: RemotePort *Port `json:"remotePort,omitempty"` (to be combined with other breaking changes)
RemotePort Port `json:"remotePort"`
LocalPort *Port `json:"localPort,omitempty"`
LocalHost string `json:"localHost,omitempty"`
Expand Down

0 comments on commit ee15653

Please sign in to comment.