We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d04d2d0 commit 7f6e7d4Copy full SHA for 7f6e7d4
pkg/server/schema.go
@@ -52,7 +52,7 @@ func (s *Server) createLocalSchemaStore(ctx context.Context) {
52
store = schemaMemoryStore.New()
53
case schemaConfig.StoreTypePersistent:
54
var err error
55
- store, err = schemaPersistentStore.New(ctx, s.config.SchemaStore.Path, s.config.SchemaStore.Cache)
+ store, err = schemaPersistentStore.New(ctx, s.config.SchemaStore.Path, s.config.SchemaStore.Cache, s.config.SchemaStore.ReadOnly)
56
if err != nil {
57
log.Errorf("failed to create a persistent schema store: %v", err)
58
os.Exit(1)
0 commit comments