Skip to content

Commit c31e67d

Browse files
committed
fix: remove trailing whitespace (gofmt)
Signed-off-by: Kallal Mukherjee <[email protected]>
1 parent 044031d commit c31e67d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

corim/unsignedcorim.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ func (o Tag) Valid() error {
352352
switch o.Number {
353353
case ComidTag: // 506 - CoMID tag
354354
return o.validateComidTag()
355-
case CoswidTag: // 505 - CoSWID tag
355+
case CoswidTag: // 505 - CoSWID tag
356356
return o.validateCoswidTag()
357357
default:
358358
// For unknown tags, just ensure the content is valid CBOR
@@ -366,11 +366,11 @@ func (o Tag) validateComidTag() error {
366366
if err := dm.Unmarshal(o.Content, &c); err != nil {
367367
return fmt.Errorf("invalid CoMID content: %w", err)
368368
}
369-
369+
370370
if err := c.Valid(); err != nil {
371371
return fmt.Errorf("CoMID validation failed: %w", err)
372372
}
373-
373+
374374
return nil
375375
}
376376

@@ -380,7 +380,7 @@ func (o Tag) validateCoswidTag() error {
380380
if err := dm.Unmarshal(o.Content, &s); err != nil {
381381
return fmt.Errorf("invalid CoSWID content: %w", err)
382382
}
383-
383+
384384
// Basic validation - if unmarshaling succeeded, the structure is valid
385385
// Additional validation could be added here if needed
386386
return nil

0 commit comments

Comments
 (0)