From a24a9744373656a129d807fbe68e1ae1ddfe9897 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Thu, 31 Mar 2016 12:17:01 -0700 Subject: [PATCH] fixed param binding issue with postgres --- store/datastore/secret.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/datastore/secret.go b/store/datastore/secret.go index 528a859b..d25079a3 100644 --- a/store/datastore/secret.go +++ b/store/datastore/secret.go @@ -27,7 +27,7 @@ func (db *datastore) SetSecret(sec *model.Secret) error { } func (db *datastore) DeleteSecret(sec *model.Secret) error { - _, err := db.Exec(secretDeleteStmt, sec.ID) + _, err := db.Exec(rebind(secretDeleteStmt), sec.ID) return err }