Because originally I passed in all 3 values, then realized that the global default is special. :smile:  I see three main alternatives:

1. Leave it as-is. I like this because the two methods are pretty clear in what they do.
1. I can straight inline this method into `calculateTtl`. I'm less excited about this because then there's an ugly chunk of implementation in the middle of business-logic-type code.
2. Since there are just 2 values, I can rewrite it as a bunch of nested `if`s. This is ugly to me because of the non-zero part:

```go
  if (etcd_ttl == 0 && serv.Ttl == 0) {
    return s.config.Ttl
  } else if (etcd_ttl == 0) {
    return serv.Ttl
  } else if (serv.Ttl == 0) {
    return etcd_ttl
  } else if (etcd_ttl < serv.Ttl) {
    return etcd_ttl
  } else {
    return serv.Ttl
  }
```