api/tasks.go: add check initial_status

This commit is contained in:
Marin 2016-08-23 13:49:37 -07:00
parent 588a4802c1
commit 9ad8ecc149

View file

@ -70,6 +70,7 @@ type ServiceCheck struct {
PortLabel string `mapstructure:"port"`
Interval time.Duration
Timeout time.Duration
InitialStatus string `mapstructure:"initial_status"`
}
// The Service model represents a Consul service definition