mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
Allow users to specify logpath
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #135 Approved by: mheon
This commit is contained in:

committed by
Atomic Bot

parent
6ba6ecf59b
commit
095aaaa639
@ -15,7 +15,7 @@ import (
|
||||
|
||||
// DBSchema is the current DB schema version
|
||||
// Increments every time a change is made to the database's tables
|
||||
const DBSchema = 8
|
||||
const DBSchema = 9
|
||||
|
||||
// SQLState is a state implementation backed by a persistent SQLite3 database
|
||||
type SQLState struct {
|
||||
@ -285,7 +285,7 @@ func (s *SQLState) AddContainer(ctr *Container) (err error) {
|
||||
?, ?, ?, ?, ?,
|
||||
?, ?, ?, ?, ?,
|
||||
?, ?, ?, ?, ?,
|
||||
?, ?, ?, ?
|
||||
?, ?, ?, ?, ?
|
||||
);`
|
||||
addCtrState = `INSERT INTO containerState VALUES (
|
||||
?, ?, ?, ?, ?,
|
||||
@ -376,6 +376,7 @@ func (s *SQLState) AddContainer(ctr *Container) (err error) {
|
||||
ctr.config.ShmSize,
|
||||
ctr.config.StaticDir,
|
||||
string(mounts),
|
||||
ctr.LogPath(),
|
||||
|
||||
boolToSQL(ctr.config.Privileged),
|
||||
boolToSQL(ctr.config.NoNewPrivs),
|
||||
|
Reference in New Issue
Block a user