File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Filter options
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ Here you can find a list of migration guides to handle breaking changes between
4
4
5
5
## 0.30.0
6
6
7
+ ### ` daemon ` CLI command's ` --ip ` flag removal
8
+
9
+ The ` daemon ` CLI command no longer allows to set a custom ip for the gRPC communication. Currently there is not enough
10
+ bandwith to support this feature. For this reason, the ` --ip ` flag has been removed.
11
+
7
12
### ` board attach ` CLI command changed behaviour
8
13
9
14
The ` board attach ` CLI command has changed behaviour: now it just pick whatever port and FQBN is passed as parameter and
Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ import (
39
39
40
40
var (
41
41
tr = i18n .Tr
42
- ip string
43
42
daemonize bool
44
43
debug bool
45
44
debugFile string
@@ -56,7 +55,6 @@ func NewCommand() *cobra.Command {
56
55
Args : cobra .NoArgs ,
57
56
Run : runDaemonCommand ,
58
57
}
59
- daemonCommand .PersistentFlags ().StringVar (& ip , "ip" , "127.0.0.1" , tr ("The IP address the daemon will listen to" ))
60
58
daemonCommand .PersistentFlags ().String ("port" , "" , tr ("The TCP port the daemon will listen to" ))
61
59
configuration .Settings .BindPFlag ("daemon.port" , daemonCommand .PersistentFlags ().Lookup ("port" ))
62
60
daemonCommand .Flags ().BoolVar (& daemonize , "daemonize" , false , tr ("Do not terminate daemon process if the parent process dies" ))
@@ -120,6 +118,7 @@ func runDaemonCommand(cmd *cobra.Command, args []string) {
120
118
go feedback .ExitWhenParentProcessEnds ()
121
119
}
122
120
121
+ ip := "127.0.0.1"
123
122
lis , err := net .Listen ("tcp" , fmt .Sprintf ("%s:%s" , ip , port ))
124
123
if err != nil {
125
124
// Invalid port, such as "Foo"
You can’t perform that action at this time.
0 commit comments