Fix warning function name

The service defined type was calling an unknown function 'warn' when it
should be 'warning'.  This commit resolves that.