Skip to content

Commit

Permalink
Merge pull request #58 from HewlettPackard/end-end-test
Browse files Browse the repository at this point in the history
removed the unused fields in model for cookie profile
  • Loading branch information
manjunath-batakurki authored Aug 22, 2022
2 parents 185f6df + eee6478 commit 6b82724
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkg/models/load_balancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,6 @@ type LBProfile struct {
CookieDomain string `json:"cookieDomain"`
CookiePath string `json:"cookiePath"`
MaxIdleTime int `json:"maxIdleTime"`
MaxCookieAge int `json:"maxCookieAge"`
MaxCookieLife int `json:"maxCookieLife"`
HaPersistenceMirroring bool `json:"haPersistenceMirroring"`
PersistenceEntryTimeout int `json:"persistenceEntryTimeout"`
PurgeEntries bool `json:"purgeEntries"`
Expand Down Expand Up @@ -386,9 +384,7 @@ type CreateCookieProfileConfig struct {
CookieDomain string `json:"-" tf:"cookie_domain"`
CookiePath string `json:"-" tf:"cookie_path"`
MaxIdleTime int `json:"-" tf:"max_idle_time"`
MaxCookieAge int `json:"-" tf:"max_cookie_age"`
SharePersistence bool `json:"-" tf:"share_persistence"`
MaxCookieLife int `json:"-" tf:"max_cookie_life"`
}

type CreateTCPProfileConfig struct {
Expand Down Expand Up @@ -496,6 +492,7 @@ type GetLBSpecificProfile struct {

type GetLBSpecificProfilesResp struct {
ID int `json:"-" tf:"id,computed"`
LbID int `json:"-" tf:"lb_id"`
Name string `json:"name"`
Category string `json:"category"`
ServiceType string `json:"serviceType"`
Expand Down

0 comments on commit 6b82724

Please sign in to comment.