Skip to content

Commit

Permalink
use version schema to be read
Browse files Browse the repository at this point in the history
  • Loading branch information
moogacs committed May 23, 2024
1 parent a74888c commit 4a37a9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/store/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ func (st *Store) StoreSchemaV1(cmd *command.ApplyRequest) error {
return err
}

return st.saveLegacySchema(st.db.Schema.States())
return st.saveLegacySchema(st.VersionedSchemaReader().schema.States())
}

func (st *Store) Close(ctx context.Context) error {
Expand Down

0 comments on commit 4a37a9a

Please sign in to comment.