diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-04-14 07:30:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-14 07:30:47 -0400 |
commit | 14ec3a64d9cd7f17de6858cbf476df8272e13fe8 (patch) | |
tree | 96343eef8fb5d1e1dc0ec6a22d6e3a9d0986778b /libpod/runtime.go | |
parent | 4a22d6117aeb2f2b9fa120328bba857f7fd54d47 (diff) | |
parent | 40e5ae30d59f070874322a523c800e57a0ee8825 (diff) | |
download | podman-14ec3a64d9cd7f17de6858cbf476df8272e13fe8.tar.gz podman-14ec3a64d9cd7f17de6858cbf476df8272e13fe8.tar.bz2 podman-14ec3a64d9cd7f17de6858cbf476df8272e13fe8.zip |
Merge pull request #10014 from mheon/in_memory_state_gone
Remove in-memory state implementation
Diffstat (limited to 'libpod/runtime.go')
-rw-r--r-- | libpod/runtime.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libpod/runtime.go b/libpod/runtime.go index d4bb691ef..3cee7af63 100644 --- a/libpod/runtime.go +++ b/libpod/runtime.go @@ -282,11 +282,7 @@ func makeRuntime(ctx context.Context, runtime *Runtime) (retErr error) { // package. switch runtime.config.Engine.StateType { case config.InMemoryStateStore: - state, err := NewInMemoryState() - if err != nil { - return err - } - runtime.state = state + return errors.Wrapf(define.ErrInvalidArg, "in-memory state is currently disabled") case config.SQLiteStateStore: return errors.Wrapf(define.ErrInvalidArg, "SQLite state is currently disabled") case config.BoltDBStateStore: |