From b933f11d158cc3a8b377782de4ace5e1758bf5ab Mon Sep 17 00:00:00 2001 From: Josef Filzmaier Date: Thu, 19 Mar 2020 15:08:07 +0100 Subject: [PATCH] Add missing error return value to Device Interface --- Device.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Device.go b/Device.go index 6cf5137..ab25eba 100644 --- a/Device.go +++ b/Device.go @@ -124,7 +124,7 @@ type Device interface { // Whether or not this device is managed by NetworkManager. Setting this property has a similar effect to configuring the device as unmanaged via the keyfile.unmanaged-devices setting in NetworkManager.conf. Changes to this value are not persistent and lost after NetworkManager restart. GetPropertyManaged() (bool, error) - SetPropertyManaged(bool) + SetPropertyManaged(bool) error // If TRUE, indicates the device is allowed to autoconnect. If FALSE, manual intervention is required before the device will automatically connect to a known network, such as activating a connection using the device, or setting this property to TRUE. This property cannot be set to TRUE for default-unmanaged devices, since they never autoconnect. GetPropertyAutoConnect() (bool, error)