diff --git a/vault/logical_system.go b/vault/logical_system.go index 20ca9dee26..640427971b 100644 --- a/vault/logical_system.go +++ b/vault/logical_system.go @@ -1168,7 +1168,7 @@ func (b *SystemBackend) handleRemount(ctx context.Context, req *logical.Request, } // Attempt remount - if err := b.Core.remount(ctx, fromPath, toPath, !b.Core.PerfStandby()); err != nil { + if err := b.Core.remount(ctx, fromPath, toPath, !b.Core.perfStandby); err != nil { b.Backend.Logger().Error("remount failed", "from_path", fromPath, "to_path", toPath, "error", err) return handleError(err) }