You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically, I've started a pod on our cluster with sqlite, everything works well. However, when I switched to postgres nothing works anymore.
Steps to Reproduce (for bugs)
Use a Postgres driver
Start the pod
Try to create a new flag
See it fail
time="2018-03-09T15:11:14Z" level=info msg="/go/src/github.com/checkr/flagr/pkg/handler/eval_cache.go:89sql: Scan error on column index 6: Cannot scan {} into Attachment type"
time="2018-03-09T15:11:14Z" level=info msg="/go/src/github.com/checkr/flagr/pkg/handler/eval_cache.go:89sql: Scan error on column index 6: Cannot scan {} into Attachment type"
time="2018-03-09T15:11:14Z" level=info msg="/go/src/github.com/checkr/flagr/pkg/handler/eval_cache.go:89sql: Scan error on column index 6: Cannot scan {} into Attachment type"
time="2018-03-09T15:11:14Z" level=error msg="reload evaluation cache error" err="sql: Scan error on column index 6: Cannot scan {} into Attachment type; sql: Scan error on column index 6: Cannot scan {} into Attachment type; sql: Scan error on column index 6: Cannot scan {} into Attachment type; sql: Scan error on column index 6: Cannot scan {} into Attachment type"
time="2018-03-09T15:11:14Z" level=info msg="/go/src/github.com/checkr/flagr/pkg/handler/eval_cache.go:89sql: Scan error on column ind
Context
Trying to create a new flag with the Postgres driver
Your Environment
Version used (flagr version): latest
Operating System and version (uname -a): Linux **-846cbb9848-nd8vt 4.4.111-k8s #1 SMP Sun Jan 14 19:32:08 UTC 2018 x86_64 GNU/Linux
Link to your project: --
The text was updated successfully, but these errors were encountered:
I have switched the driver to mysql, with a mysql database of course, and now I don't experience that error. But still, if pgsql is supported the other issue should be fixed.
Basically, I've started a pod on our cluster with sqlite, everything works well. However, when I switched to postgres nothing works anymore.
Steps to Reproduce (for bugs)
Context
Trying to create a new flag with the Postgres driver
Your Environment
flagr version
): latestuname -a
):Linux **-846cbb9848-nd8vt 4.4.111-k8s #1 SMP Sun Jan 14 19:32:08 UTC 2018 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: