Skip to content

Commit 069a5be

Browse files
committed
CR comments
1 parent abba47f commit 069a5be

File tree

1 file changed

+2
-2
lines changed
  • framework/components/dockercompose/chip_ingress_set

1 file changed

+2
-2
lines changed

framework/components/dockercompose/chip_ingress_set/protos.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -659,11 +659,11 @@ func registerSingleProto(
659659
return errors.Wrap(bodyErr, "failed to read response body")
660660
}
661661

662-
if resp.StatusCode >= 400 && resp.StatusCode <= 500 {
662+
if resp.StatusCode >= 400 && resp.StatusCode < 500 {
663663
return retry.Unrecoverable(fmt.Errorf("schema registry error (%d): %s", resp.StatusCode, string(body)))
664664
}
665665

666-
return fmt.Errorf("schema registry error (%d): %s", resp.StatusCode, body)
666+
return fmt.Errorf("schema registry error (%d): %s", resp.StatusCode, string(body))
667667
}
668668

669669
return nil

0 commit comments

Comments
 (0)