Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dex
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
dex
Commits
fe320c19
Commit
fe320c19
authored
Oct 14, 2016
by
Eric Chiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
storage/sql: fix typo in keys query
parent
0a3aabc8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
crud.go
storage/sql/crud.go
+2
-2
standup.sh
storage/sql/standup.sh
+1
-1
No files found.
storage/sql/crud.go
View file @
fe320c19
...
...
@@ -350,7 +350,7 @@ func (c *conn) UpdateKeys(updater func(old storage.Keys) (storage.Keys, error))
set
verification_keys = $1,
signing_key = $2,
si
ng
ing_key_pub = $3,
si
gn
ing_key_pub = $3,
next_rotation = $4
where id = $5;
`
,
...
...
@@ -374,7 +374,7 @@ func getKeys(q querier) (keys storage.Keys, err error) {
select
verification_keys, signing_key, signing_key_pub, next_rotation
from keys
where id=$
q
where id=$
1
`
,
keysRowID
)
.
Scan
(
decoder
(
&
keys
.
VerificationKeys
),
decoder
(
&
keys
.
SigningKey
),
decoder
(
&
keys
.
SigningKeyPub
),
&
keys
.
NextRotation
,
...
...
storage/sql/standup.sh
View file @
fe320c19
...
...
@@ -70,7 +70,7 @@ function wait_for_file {
}
function
wait_for_container
{
while
[
-z
"
$(
rkt list
--full
|
grep
$1
)
"
]
;
do
while
[
-z
"
$(
rkt list
--full
|
grep
$1
|
grep
running
)
"
]
;
do
sleep
1
done
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment