Skip to content

Commit

Permalink
Fix sqlite endpoint when migrating from sqlite to etcd
Browse files Browse the repository at this point in the history
Support for 'sqlite' as the endpoint was removed in
k3s-io/kine#320 and the constant removed in
k3s-io/kine#325

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
  • Loading branch information
brandond committed Oct 3, 2024
1 parent c9e7b05 commit 0942e6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/etcd/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ func (e *ETCD) migrateFromSQLite(ctx context.Context) error {
defer cancel()

_, err = endpoint2.Listen(ctx, endpoint2.Config{
Endpoint: endpoint2.SQLiteBackend,
Endpoint: "sqlite://",
})
if err != nil {
return err
Expand Down

0 comments on commit 0942e6a

Please sign in to comment.