diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-10-06 05:18:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-06 05:18:04 +0200 |
commit | f584d47a9d0c050c3b39793a73b0aba17b45e8ba (patch) | |
tree | 56f996fdefdfa8a83f6aba9eb98e6395364f8b60 /pkg/specgen/specgen.go | |
parent | ea02d9c2668207523611efac67a1699f776c9147 (diff) | |
parent | 348f2df0c09e2e3b517add5271e6eee583800be3 (diff) | |
download | podman-f584d47a9d0c050c3b39793a73b0aba17b45e8ba.tar.gz podman-f584d47a9d0c050c3b39793a73b0aba17b45e8ba.tar.bz2 podman-f584d47a9d0c050c3b39793a73b0aba17b45e8ba.zip |
Merge pull request #7931 from rhatdan/size
Support max_size logoptions
Diffstat (limited to 'pkg/specgen/specgen.go')
-rw-r--r-- | pkg/specgen/specgen.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/specgen/specgen.go b/pkg/specgen/specgen.go index b8f37ec7a..fa4af7b2b 100644 --- a/pkg/specgen/specgen.go +++ b/pkg/specgen/specgen.go @@ -19,6 +19,9 @@ type LogConfig struct { // Only available if LogDriver is set to "json-file" or "k8s-file". // Optional. Path string `json:"path,omitempty"` + // Size is the maximimup size of the log file + // Optional. + Size int64 `json:"size,omitempty"` // A set of options to accompany the log driver. // Optional. Options map[string]string `json:"options,omitempty"` |