Skip to content

Commit

Permalink
remove extra deletion of extracted credentials in broker package (#825)
Browse files Browse the repository at this point in the history
  • Loading branch information
shawn-hurley authored and Erik Nelson committed Mar 9, 2018
1 parent ee181bb commit d3ba296
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions pkg/broker/unbinding_subscriber.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,6 @@ func cleanupUnbind(bindInstance *apb.BindInstance, serviceInstance *apb.ServiceI
var err error
id := bindInstance.ID.String()

if bindExtCreds != nil {
if err = apb.DeleteExtractedCredentials(id); err != nil {
log.Errorf("failed to delete extracted credentials - %v", err)
return err
}
}

if err = dao.DeleteBindInstance(id); err != nil {
log.Errorf("failed to delete bind instance - %v", err)
return err
Expand Down

0 comments on commit d3ba296

Please sign in to comment.