mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-20 07:48:06 +02:00
update
This commit is contained in:
parent
f678951893
commit
3a51851f8e
1 changed files with 2 additions and 2 deletions
|
@ -79,11 +79,11 @@ func prepare() error {
|
|||
return err
|
||||
}
|
||||
|
||||
for i := 0; i < 10; i++ {
|
||||
for i := 0; i < 5; i++ {
|
||||
if _, err := db.Exec("INSERT INTO blog (title) VALUES (?);", fmt.Sprintf("Blog post #%d", i)); err != nil {
|
||||
log.Print(fmt.Sprintf("Blog post #%d", i))
|
||||
return err
|
||||
}
|
||||
log.Print("Blog post ", i)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue