// only applies to Config and Artifact clients
only applies to Config and Artifact clients
// only applies to Config and Artifact clients
func UseConsulClients(client *api.Client, rootKey string) {
	lock.Lock()
	defer lock.Unlock()
	consulClient = &factory.ConsulResourceClientFactory{
		Consul:  client,
		RootKey: rootKey,
	}
}
func UseConsulClients ( client * api . Client , rootKey string ) { lock . Lock ( ) defer lock . Unlock ( ) consulClient = & factory . ConsulResourceClientFactory { Consul : client , RootKey : rootKey , } }
only applies to Config and Artifact clients
only applies to Config and Artifact clients