Skip to content

Commit

Permalink
Update pkg/resources/database/resource_kafka_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Philipp Sauter <46172817+sauterp@users.noreply.github.com>
  • Loading branch information
tgrondier and sauterp authored Dec 20, 2024
1 parent 5d8fc74 commit 537179c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/resources/database/resource_kafka_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ func CheckExistsKafka(name string, data *TemplateModelKafka) error {

res, err := client.GetDbaasServiceKafkaWithResponse(ctx, oapi.DbaasServiceName(name))
if err != nil {
return fmt.Errorf("aww")
return err
}
if res.StatusCode() != http.StatusOK {
return fmt.Errorf("API request error: unexpected status %s", res.Status())
Expand Down

0 comments on commit 537179c

Please # to comment.