Skip to content

Commit

Permalink
add json tags for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
dhuckins committed Dec 5, 2024
1 parent 5f888c3 commit db1f13d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/commands/vaultsecrets/gatewaypools/displayer.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import (
)

type gatewayPoolWithIntegrations struct {
GatewayPool *preview_models.Secrets20231128GatewayPool
Integrations []string
GatewayPool *preview_models.Secrets20231128GatewayPool `json:"gateway_pool"`
Integrations []string `json:"integrations"`
}

type gatewayPoolWithOauth struct {
GatewayPool *preview_models.Secrets20231128GatewayPool
Oauth *auth.OauthConfig
GatewayPool *preview_models.Secrets20231128GatewayPool `json:"gateway_pool"`
Oauth *auth.OauthConfig `json:"oauth,omitempty"`
}

type displayer struct {
Expand Down

0 comments on commit db1f13d

Please sign in to comment.