We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Got an error when trying to get active connections. With nmcli works correctly:
nmcli con show --active NAME UUID TYPE DEVICE enp1s0 8__________________ac ethernet enp1s0
func CreateNmInstance() (gonetworkmanager.NetworkManager, error) { nm, err := gonetworkmanager.NewNetworkManager() if err != nil { log.Errorf("failed to create nmci instance: %v", err) return nil, err }
return nm, nil
}
func CheckForExistingConnection(nm gonetworkmanager.NetworkManager) error { connections, err := nm.GetPropertyActiveConnections() if err != nil { log.Fatalf("Failed to get active connections: %v", err) } .....
The text was updated successfully, but these errors were encountered:
Doesn't look like an issue from this lib on first look.
Please do proper reporting, code (formatted), what you expect, what you've tested,.... This will not be investigated otherwise.
Sorry, something went wrong.
No branches or pull requests
Got an error when trying to get active connections. With nmcli works correctly:
nmcli con show --active
NAME UUID TYPE DEVICE
enp1s0 8__________________ac ethernet enp1s0
func CreateNmInstance() (gonetworkmanager.NetworkManager, error) {
nm, err := gonetworkmanager.NewNetworkManager()
if err != nil {
log.Errorf("failed to create nmci instance: %v", err)
return nil, err
}
}
func CheckForExistingConnection(nm gonetworkmanager.NetworkManager) error {
connections, err := nm.GetPropertyActiveConnections()
if err != nil {
log.Fatalf("Failed to get active connections: %v", err)
}
.....
The text was updated successfully, but these errors were encountered: