Skip to content

Commit

Permalink
fixup! fixup! test: ensure random password generator adheres to defau…
Browse files Browse the repository at this point in the history
…lt password policy
  • Loading branch information
reubenmiller committed Jan 24, 2024
1 parent 2cdf33b commit 1230949
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pkg/c8y/measurement.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,9 @@ func (s *MeasurementService) GetMeasurementSeries(ctx context.Context, opt *Meas
return data, resp, nil
}

// Deprecated: GetMeasurement returns a single measurement
// Note: Retrieving single measurements is no longer supported in Cumulocity IoT
// when using the time series feature. Use GetMeasurements() instead
// GetMeasurement returns a single measurement
// Deprecated: Retrieving single measurements is no longer supported in Cumulocity IoT
// when using the time series feature. Use `GetMeasurements` instead
func (s *MeasurementService) GetMeasurement(ctx context.Context, ID string) (*Measurement, *Response, error) {
data := new(Measurement)
resp, err := s.client.SendRequest(ctx, RequestOptions{
Expand All @@ -316,9 +316,9 @@ func (s *MeasurementService) GetMeasurement(ctx context.Context, ID string) (*Me
return data, resp, err
}

// Deprecated: Delete removed a measurement by ID
// Note: Deleting single measurements is no longer supported in Cumulocity IoT
// when using the time series feature. Use DeleteMeasurements() instead
// Delete removed a measurement by ID
// Deprecated: Deleting single measurements is no longer supported in Cumulocity IoT
// when using the time series feature. Use `DeleteMeasurements` instead
func (s *MeasurementService) Delete(ctx context.Context, ID string) (*Response, error) {
return s.client.SendRequest(ctx, RequestOptions{
Method: "DELETE",
Expand Down

0 comments on commit 1230949

Please sign in to comment.