diff options
Diffstat (limited to 'commands')
-rw-r--r-- | commands/bridge_pull.go | 2 | ||||
-rw-r--r-- | commands/bridge_rm.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/commands/bridge_pull.go b/commands/bridge_pull.go index f9958882..c7a22d6d 100644 --- a/commands/bridge_pull.go +++ b/commands/bridge_pull.go @@ -23,7 +23,7 @@ func runBridgePull(cmd *cobra.Command, args []string) error { if len(args) == 0 { b, err = bridge.DefaultBridge(backend) } else { - b, err = bridge.NewBridgeFromFullName(backend, args[0]) + b, err = bridge.LoadBridge(backend, args[0]) } if err != nil { diff --git a/commands/bridge_rm.go b/commands/bridge_rm.go index 80a831ff..5d38083c 100644 --- a/commands/bridge_rm.go +++ b/commands/bridge_rm.go @@ -15,7 +15,7 @@ func runBridgeRm(cmd *cobra.Command, args []string) error { defer backend.Close() interrupt.RegisterCleaner(backend.Close) - err = bridge.RemoveBridges(backend, args[0]) + err = bridge.RemoveBridge(backend, args[0]) if err != nil { return err } |