Skip to content

Commit f7ebb13

Browse files
committed
Moving to clients v3.1.1
1 parent 30aaea2 commit f7ebb13

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

.licenses/go/github.com/arduino/iot-client-go/v3.dep.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: github.com/arduino/iot-client-go/v3
3-
version: v3.1.0
3+
version: v3.1.1
44
type: go
55
summary:
66
homepage: https://pkg.go.dev/github.com/arduino/iot-client-go/v3

command/device/show.go

+6-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,12 @@ func Show(ctx context.Context, deviceId string, cred *config.Credentials) (*Devi
5858
return nil, net, err
5959
}
6060
for _, netCred := range netCredentialsArray {
61-
net = append(net, netCredentials(netCred))
61+
var netCredToShow netCredentials
62+
netCredToShow.FriendlyName = netCred.FriendlyName
63+
netCredToShow.Required = netCred.Required
64+
netCredToShow.SecretName = netCred.SecretName
65+
netCredToShow.Sensitive = netCred.Sensitive
66+
net = append(net, netCredToShow)
6267
}
6368
}
6469

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require (
66
github.com/arduino/arduino-cli v0.0.0-20240927141754-d9dd4ba1ed71
77
github.com/arduino/go-paths-helper v1.12.1
88
github.com/arduino/go-win32-utils v1.0.0
9-
github.com/arduino/iot-client-go/v3 v3.1.0
9+
github.com/arduino/iot-client-go/v3 v3.1.1
1010
github.com/gofrs/uuid v4.2.0+incompatible
1111
github.com/google/go-cmp v0.6.0
1212
github.com/howeyc/crc16 v0.0.0-20171223171357-2b2a61e366a6

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ github.com/arduino/go-properties-orderedmap v1.7.1 h1:HQ9Pn/mk3+XyfrE39EEvaZwJkr
7171
github.com/arduino/go-properties-orderedmap v1.7.1/go.mod h1:DKjD2VXY/NZmlingh4lSFMEYCVubfeArCsGPGDwb2yk=
7272
github.com/arduino/go-win32-utils v1.0.0 h1:/cXB86sOJxOsCHP7sQmXGLkdValwJt56mIwOHYxgQjQ=
7373
github.com/arduino/go-win32-utils v1.0.0/go.mod h1:0jqM7doGEAs6DaJCxxhLBUDS5OawrqF48HqXkcEie/Q=
74-
github.com/arduino/iot-client-go/v3 v3.1.0 h1:xHKdlpXshfk9PiqV3RLs6754iLo0AWSepFlgLqSn9Xc=
75-
github.com/arduino/iot-client-go/v3 v3.1.0/go.mod h1:r2QEAP5Jalkr0YWNPhFl0EJzFRQNy24wN5CVbn11f64=
74+
github.com/arduino/iot-client-go/v3 v3.1.1 h1:bQhbV5PlH8tDuSmeimw9Rjrh5KbIUhqvYWWI/xYMi1M=
75+
github.com/arduino/iot-client-go/v3 v3.1.1/go.mod h1:r2QEAP5Jalkr0YWNPhFl0EJzFRQNy24wN5CVbn11f64=
7676
github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o=
7777
github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY=
7878
github.com/armon/go-metrics v0.3.10/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc=

0 commit comments

Comments
 (0)