mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-04 21:08:04 +02:00
Use NM_MANAGER_ERROR_MISSING_PLUGIN when plugin not found
When ovs plugin not installed, we got this error on dbus
org.freedesktop.NetworkManager.Failed
It should be `org.freedesktop.NetworkManager.MissingPlugin`.
Signed-off-by: Gris Ge <fge@redhat.com>
This commit is contained in:
parent
f0e8b6f0e2
commit
1a52239a1f
1 changed files with 1 additions and 1 deletions
|
|
@ -1979,7 +1979,7 @@ nm_manager_get_connection_iface(NMManager *self,
|
|||
|
||||
g_set_error(error,
|
||||
NM_MANAGER_ERROR,
|
||||
NM_MANAGER_ERROR_FAILED,
|
||||
NM_MANAGER_ERROR_MISSING_PLUGIN,
|
||||
"NetworkManager plugin for '%s' unavailable",
|
||||
nm_connection_get_connection_type(connection));
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue