Commit Graph

5 Commits

Author SHA1 Message Date
Paul Hinze 108ccf0007 builtin: Refactor resource.Retry to clarify return
Change the `RetryFunc` from a plain `error` return type to a
specialized `RetryError` which must decide whether it is
retryable or not.

Add `RetryableError` / `NonRetryableError` factory functions that
callers are meant to use to build up these errors.

This makes it eminently clear whether or not a given error is
retryable from inside the client code.

Goal here is to _not_ change any behavior, simply reflect the
existing behavior with the new, clearer, API.
2016-03-09 17:37:56 -06:00
James Nugent 67b5784069 provider/azure: Avoid making checks which fail 2016-01-07 18:11:28 -08:00
James Nugent 3c222b32ce provider/azure: Retry checking DB server existence 2016-01-07 08:35:19 -08:00
James Nugent f0ce107971 provider/azure: Fix up destroy checks 2016-01-07 06:52:28 -08:00
aznashwan 7429027a8c Added SQL Database Server Firewall Rule resource. 2015-06-29 21:36:02 +03:00