Update internal/session/repository_connection.go

Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com>
jimlambrt-session-basics
Jim 6 years ago committed by GitHub
parent a1408fe9a4
commit 4d75e50d73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -139,7 +139,7 @@ func (r *Repository) DeleteConnection(ctx context.Context, publicId string, opt
db.StdRetryCnt,
db.ExpBackoff{},
func(_ db.Reader, w db.Writer) error {
deleteSession := connection.Clone()
deleteConnection := connection.Clone()
var err error
rowsDeleted, err = w.Delete(
ctx,

Loading…
Cancel
Save