From 7a4413fa6fe1769ff00df925c6913f64cb06bee0 Mon Sep 17 00:00:00 2001 From: Sir Darkrengarius Date: Wed, 22 May 2019 08:26:57 +0300 Subject: [PATCH] Remove `local` column from `printTransports` output --- cmd/skywire-cli/commands/node/transports.go | 4 ++-- routing.db | Bin 0 -> 32768 bytes 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 routing.db diff --git a/cmd/skywire-cli/commands/node/transports.go b/cmd/skywire-cli/commands/node/transports.go index a07cbeba82..ef9e1afd12 100644 --- a/cmd/skywire-cli/commands/node/transports.go +++ b/cmd/skywire-cli/commands/node/transports.go @@ -108,7 +108,7 @@ var rmTpCmd = &cobra.Command{ func printTransports(tps ...*node.TransportSummary) { sortTransports(tps...) w := tabwriter.NewWriter(os.Stdout, 0, 0, 5, ' ', tabwriter.TabIndent) - _, err := fmt.Fprintln(w, "type\tid\tlocal\tremote\tmode") + _, err := fmt.Fprintln(w, "type\tid\tremote\tmode") internal.Catch(err) for _, tp := range tps { tpMode := "regular" @@ -116,7 +116,7 @@ func printTransports(tps ...*node.TransportSummary) { tpMode = "setup" } - _, err = fmt.Fprintf(w, "%s\t%s\t%s\t%s\t%s\n", tp.Type, tp.ID, tp.Local, tp.Remote, tpMode) + _, err = fmt.Fprintf(w, "%s\t%s\t%s\t%s\n", tp.Type, tp.ID, tp.Remote, tpMode) internal.Catch(err) } internal.Catch(w.Flush()) diff --git a/routing.db b/routing.db new file mode 100644 index 0000000000000000000000000000000000000000..9c9b955ee905573eb3707b3560bebea6c14deec4 GIT binary patch literal 32768 zcmeI)F>b;z6aY{|fi9I`hJ}f#Tg4q1y7Ux?0gw<3?NNIN*x5*k{{Vsw2}?Xnj-AA@ zzTWn2D=9UlliU6O$G%(tGiUT)80tN!Y1^!c|u9%7u9009C72oNAZfB*pk z1PBl)N1&BMxtIUHU4lgg}4*0RjXF5FkK+009C72s~OK_V;5Q;L-D&j{pGz1PBlyK!5-N0t5&Uc)mcK z<8Pw4xzEfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk Q1PBlyK!5-N00{My#-2eap literal 0 HcmV?d00001