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 <[email protected]>
(cherry picked from commit 0942e6a)
Signed-off-by: Brad Davidson <[email protected]>
  • Loading branch information
brandond committed Oct 9, 2024
1 parent 7dd447f commit 95a250f
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 95a250f

Please sign in to comment.