Skip to content

Commit

Permalink
model number now required in provider too
Browse files Browse the repository at this point in the history
  • Loading branch information
1riatsila1 committed Oct 30, 2024
1 parent 3918b09 commit bca31f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config-api-provider/provider/data-sources/sensor.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func (d *sensorDataSource) Read(ctx context.Context, req datasource.ReadRequest,

state.Id = types.StringValue(sensor.Id)
state.Name = types.StringValue(sensor.Name)
state.ModelNumber = types.StringPointerValue(sensor.ModelNumber.Get())
state.ModelNumber = types.StringValue(sensor.ModelNumber)
state.WifiMacAddress = types.StringPointerValue(sensor.WifiMacAddress.Get())
state.EthernetMacAddress = types.StringPointerValue(sensor.EthernetMacAddress.Get())
state.AddressNote = types.StringPointerValue(sensor.AddressNote.Get())
Expand Down

0 comments on commit bca31f3

Please sign in to comment.