Skip to content

Commit

Permalink
add missing config struct tags, for completeness
Browse files Browse the repository at this point in the history
  • Loading branch information
edaniszewski committed Mar 30, 2020
1 parent d8bb6f5 commit a8029c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/config/device.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ type DeviceProto struct {
// inheritance is disabled. If both the prototype and the instance specify
// transform, the prototype transforms are applied first in order, followed
// by the instance transforms in order.
Transforms []*TransformConfig
Transforms []*TransformConfig `yaml:"transforms,omitempty"`

// Instances contains the data for all configured instances of the
// device prototype.
Expand Down Expand Up @@ -163,7 +163,7 @@ type DeviceInstance struct {
// If both the prototype and the instance specify transform, the prototype
// transforms are applied first in order, followed by the instance
// transforms in order.
Transforms []*TransformConfig
Transforms []*TransformConfig `yaml:"transforms,omitempty"`

// WriteTimeout defines a custom write timeout for the device instance. This
// is the time within which the write transaction will remain valid. If left
Expand Down

0 comments on commit a8029c7

Please sign in to comment.