lib/consul_syncer.rb
# changing tags means all previous services need to be removed manually since
# they can no longer be found
changing tags means all previous services need to be removed manually since
they can no longer be found
changing tags means all previous services need to be removed manually since they can no longer be found
def sync(expected_definitions, tags, dry: false)
    planned = plan(expected_definitions, tags)
    execute planned unless dry
    planned.size 
  end
def sync ( expected_definitions , tags , dry : false ) planned = plan ( expected_definitions , tags ) execute planned unless dry planned . size end
changing tags means all previous services need to be removed manually since
they can no longer be found
changing tags means all previous services need to be removed manually since they can no longer be found
# let users know what we did and keep legacy api working
expected_definitions
tags
dry