Skip to content

Commit

Permalink
netscaler adds tcp-default as the lb monitor if none is specified
Browse files Browse the repository at this point in the history
  • Loading branch information
chiradeep committed May 30, 2017
1 parent d9c90d1 commit 98ec215
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions netscaler/resource_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ func resourceNetScalerService() *schema.Resource {
"lbmonitor": &schema.Schema{
Type: schema.TypeString,
Optional: true,
Computed: true,
},
},
}
Expand Down Expand Up @@ -489,6 +490,7 @@ func readServiceFunc(d *schema.ResourceData, meta interface{}) error {
mon, ok := monitor["monitor_name"]
if ok {
boundMonitor = mon.(string)
log.Printf("[INFO] netscaler-provider: Found %s lbmonitor bound to %s", boundMonitor, serviceName)
break
}
}
Expand Down

0 comments on commit 98ec215

Please sign in to comment.