Skip to content

Commit

Permalink
Fix sslcertkey to ignore passplain and password attributes during read
Browse files Browse the repository at this point in the history
Signed-off-by: George Nikolopoulos <[email protected]>
  • Loading branch information
George Nikolopoulos committed Jul 7, 2020
1 parent a3665db commit dcc0dd5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions citrixadc/resource_citrixadc_sslcertkey.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,10 @@ func readSslcertkeyFunc(d *schema.ResourceData, meta interface{}) error {
d.Set("nodomaincheck", data["nodomaincheck"])
d.Set("notificationperiod", data["notificationperiod"])
d.Set("ocspstaplingcache", data["ocspstaplingcache"])
d.Set("passplain", data["passplain"])
d.Set("password", data["password"])
// `passplain` and `password` are not returned by NITRO request
// commenting out to avoid perpetual divergence between local and remote state
//d.Set("passplain", data["passplain"])
//d.Set("password", data["password"])

return nil

Expand Down

0 comments on commit dcc0dd5

Please sign in to comment.