braintree / litmus_paper

Backend health tester for HA Services
MIT License
32 stars 15 forks source link

Add missing return for super call in Metric.const_missing #49

Closed maxfierke closed 4 years ago

maxfierke commented 4 years ago

In #46, I introduced a deprecated alias for the typo'd constant UnixSocketUtilitization using const_missing. Unfortunately, I left out the return on the super call. This doesn't cause any problems as-is, but would do confusing, unexpected things if someone were to reference a constant that doesn't exist within Metric, e.g. while developing a new metric.

ssgelm commented 4 years ago

Good catch, thanks!