File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ type Device struct {
9393 UpdateAvailable bool `json:"updateAvailable"`
9494
9595 // The below are only included in listings when querying `all` fields.
96+ SSHEnabled bool `json:"sshEnabled"`
9697 AdvertisedRoutes []string `json:"AdvertisedRoutes"`
9798 EnabledRoutes []string `json:"enabledRoutes"`
9899 ClientConnectivity * ClientConnectivity `json:"clientConnectivity"`
Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ func TestClient_Devices_Get(t *testing.T) {
6666 TailnetLockError : "test error" ,
6767 TailnetLockKey : "tlpub:test" ,
6868 UpdateAvailable : true ,
69+ SSHEnabled : false ,
6970 AdvertisedRoutes : []string {"127.0.0.1" , "127.0.0.2" },
7071 EnabledRoutes : []string {"127.0.0.1" },
7172 ClientConnectivity : & ClientConnectivity {
@@ -172,6 +173,7 @@ func TestClient_Devices_List(t *testing.T) {
172173 NodeKey : "nodekey:test" ,
173174 OS : "windows" ,
174175 UpdateAvailable : true ,
176+ SSHEnabled : false ,
175177 AdvertisedRoutes : []string {"127.0.0.1" , "127.0.0.2" },
176178 EnabledRoutes : []string {"127.0.0.1" },
177179 ClientConnectivity : & ClientConnectivity {
You can’t perform that action at this time.
0 commit comments