Browse Source

Fix NotFound exception in docstring

A recent patch added a docstring that references the new NotFound
exception. Unfortunately it is ambiguous with other NotFound
exceptions.
This patch clarifies the NotFound exception.

Change-Id: Ie7df8625c907a19e82a4595b32ee6e77c93363f7
changes/45/742245/1 2.1.1
Michael Johnson 1 year ago
parent
commit
397653cb6d
  1. 3
      octavia_lib/api/drivers/provider_base.py

3
octavia_lib/api/drivers/provider_base.py

@ -487,7 +487,8 @@ class ProviderDriver():
:raises NotImplementedError: The driver does not support flavors.
:raises UnsupportedOptionError: if driver does not
support one of the configuration options.
:raises NotFound: if the driver cannot find a resource.
:raises octavia_lib.api.drivers.exceptions.NotFound: if the driver
cannot find a resource.
"""
raise exceptions.NotImplementedError(
user_fault_string='This provider does not support validating '

Loading…
Cancel
Save