Skip to content

Commit

Permalink
fix compile issue introduced by d1b0997
Browse files Browse the repository at this point in the history
  • Loading branch information
chiradeep committed Apr 6, 2018
1 parent 62d3cd4 commit 2845838
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions netscaler/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,6 @@ func providerSchema() map[string]*schema.Schema {
Description: "The URL to the API",
DefaultFunc: schema.EnvDefaultFunc("NS_URL", nil),
},
"insecure_skip_verify": {
Type: schema.TypeBool,
Optional: true,
Description: "Ignore validity of endpoint TLS certificate if true",
Default: false,
},
}
}

Expand All @@ -87,9 +81,6 @@ func providerConfigure(d *schema.ResourceData) (interface{}, error) {
Endpoint: d.Get("endpoint").(string),
}
client := netscaler.NewNitroClient(c.Endpoint, c.Username, c.Password)
if d.Get("insecure_skip_verify").(bool) {
client.SkipCertificateVerification()
}

c.client = client

Expand Down

0 comments on commit 2845838

Please sign in to comment.