diff options
| author | Matthew Heon <matthew.heon@pm.me> | 2019-09-05 17:30:35 -0400 |
|---|---|---|
| committer | Matthew Heon <matthew.heon@pm.me> | 2019-09-05 17:47:11 -0400 |
| commit | 3a09956dff0d475e8b7e988a6fdcda59e242d297 (patch) | |
| tree | 44c02a2c51a4d553c92c68412b9e32df852f6b5e /vendor/google.golang.org/grpc/codes/code_string.go | |
| parent | cef5bec06b200ffa5caed46db296e55fb7d72376 (diff) | |
| download | podman-3a09956dff0d475e8b7e988a6fdcda59e242d297.tar.gz podman-3a09956dff0d475e8b7e988a6fdcda59e242d297.tar.bz2 podman-3a09956dff0d475e8b7e988a6fdcda59e242d297.zip | |
Ensure good defaults on blank c/storage configuration
If c/storage paths are explicitly set to "" (the empty string) it
will use compiled-in defaults. However, it won't tell us this via
`storage.GetDefaultStoreOptions()` - we just get the empty string
(which can put our defaults, some of which are relative to
c/storage, in a bad spot).
Hardcode a sane default for cases like this. Furthermore, add
some sanity checks to paths, to ensure we don't use relative
paths for core parts of libpod.
Fixes #3952
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'vendor/google.golang.org/grpc/codes/code_string.go')
0 files changed, 0 insertions, 0 deletions
