Commit 4ccb2c2
Saied Kazemi
Fix the format of scamper command argument (#111)
* Fix the format of scamper command argument
The flags that are passed to scamper's command (e.g., tracelb) via
the -I flag should be specified as one string argument. Quotes are
only needed when using the shell or printing log messages.
Tests:
- go test ./...
- docker-compose uy (tracetool=scamper)
docker exec -it trc_traceroute-caller_1 apt-get update
...
scamper.go:134: Trace succeeded in context 0xc0000bd620
...
* Assign slice of args to a string variable1 parent 2c5aafc commit 4ccb2c2
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
110 | 111 | | |
111 | | - | |
| 112 | + | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
116 | | - | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
0 commit comments