Skip to content

Commit

Permalink
remove error log
Browse files Browse the repository at this point in the history
  • Loading branch information
uwefreidank committed Oct 4, 2024
1 parent 89f1ac6 commit 78b426d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/cf/space.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ func (c *organizationClient) GetSpace(ctx context.Context, owner string) (*facad
listOpts.LabelSel.EqualTo(labelPrefix + "/" + labelKeyOwner + "=" + owner)
spaces, err := c.client.Spaces.ListAll(ctx, listOpts)
if err != nil {
var cferr cfresource.CloudFoundryError
if errors.As(err, &cferr) {
return nil, fmt.Errorf("CF Error: %d %s %s", cferr.Code, cferr.Title, cferr.Detail)
}
return nil, err
}

Expand Down

0 comments on commit 78b426d

Please sign in to comment.