|
|
@@ -48,7 +48,7 @@ func (o *DPOPOptions) GetTarget(deviceID string) (string, error) {
|
|
|
return "", fmt.Errorf("failed parsing dpop template: %w", err)
|
|
|
}
|
|
|
buf := new(bytes.Buffer)
|
|
|
- if err = tmpl.Execute(buf, struct{ DeviceId string }{DeviceId: deviceID}); err != nil {
|
|
|
+ if err = tmpl.Execute(buf, struct{ DeviceId string }{DeviceId: deviceID}); err != nil { //nolint:revive,stylecheck // TODO(hs): this requires changes in configuration
|
|
|
return "", fmt.Errorf("failed executing dpop template: %w", err)
|
|
|
}
|
|
|
return buf.String(), nil
|