Commit d2b3d82
committed
clairctl: Scan the pointer to the pointer of the bool
I believe that even though ok is a *bool type, we still need to pass
it's address to Scan() otherwise it's akin to ok := bool; Scan(&ok),
which I believe only supports binary values and not nullable bools.
Signed-off-by: crozzy <[email protected]>1 parent a02a0f2 commit d2b3d82
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
0 commit comments