File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -377,7 +377,7 @@ func NewConnController(
377377 if err != nil {
378378 return nil , err
379379 }
380- logger .Printf ("Connecting to %s in host %s" , cvd .Name , cvd .Host )
380+ logger .Printf ("Connecting to %s in host %s" , cvd .ID , cvd .Host )
381381 f , err := NewForwarder (logger )
382382 if err != nil {
383383 return nil , fmt .Errorf ("failed to instantiate ADB forwarder for %q: %w" , cvd .WebRTCDeviceID , err )
Original file line number Diff line number Diff line change @@ -41,13 +41,9 @@ type RemoteCVDLocator struct {
4141 Host string `json:"host"`
4242 // Identifier within the whole fleet.
4343 ID string `json:"id"`
44- // Identifier within a group.
45- Name string `json:"name"`
46- // Instead of `Name`, `WebRTCDeviceID` is the identifier used for setting up the adb connections. It
44+ // `WebRTCDeviceID` is the identifier used for setting up the adb connections. It
4745 // contains the group name and the device name, eg: "cvd-1_1".
4846 WebRTCDeviceID string `json:"webrtc_device_id"`
49- // ADB port of Cuttlefish instance.
50- ADBSerial string `json:"adb_serial"`
5147}
5248
5349func (l * RemoteCVDLocator ) Group () string {
@@ -72,9 +68,7 @@ func NewRemoteCVD(host string, cvd *hoapi.CVD) *RemoteCVD {
7268 RemoteCVDLocator : RemoteCVDLocator {
7369 Host : host ,
7470 ID : cvd .ID (),
75- Name : cvd .Name ,
7671 WebRTCDeviceID : cvd .WebRTCDeviceID ,
77- ADBSerial : cvd .ADBSerial ,
7872 },
7973 Status : cvd .Status ,
8074 Displays : cvd .Displays ,
You can’t perform that action at this time.
0 commit comments