func (c *Consul) DisableMaintainance(id, name string) error {
	return c.client.Agent().DisableServiceMaintenance(serviceID(id, name))
}
DisableMaintainance removes the specific service out of maintainace mode
package consulregister
import (
	"fmt"
	"path/filepath"
	"github.com/crosbymichael/boss/api/v1"
	"github.com/hashicorp/consul/api"
)
func New(client *api.Client) *Consul {
	return &Consul{
		client: client,
	}
}
type Consul struct {
	client *api.Client
}
func (c *Consul) Register(id, name, ip string, s *v1.Service) error {
	reg := c.registration(id, name, ip, s)
	if err := c.client.Agent().ServiceRegister(reg); err != nil {
		return err
	}
	return c.client.Agent().EnableServiceMaintenance(serviceID(id, name), "created")
}
func (c *Consul) Deregister(id, name string) error {
	return c.client.Agent().ServiceDeregister(serviceID(id, name))
}
func (c *Consul) EnableMaintainance(id, name, reason string) error {
	return c.client.Agent().EnableServiceMaintenance(serviceID(id, name), reason)
}