fix(#11489): PageHandlerAdapterFactory initHandlerAdapters error (#11490)

This commit is contained in:
虢豳 2023-12-12 11:59:35 +08:00 committed by GitHub
parent 327ebaf36e
commit 26d045ca49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,7 @@
package com.alibaba.nacos.plugin.auth.impl.persistence.handler;
import com.alibaba.nacos.plugin.auth.impl.persistence.handler.support.DefaultPageHandlerAdapter;
import com.alibaba.nacos.plugin.auth.impl.persistence.handler.support.DerbyPageHandlerAdapter;
import com.alibaba.nacos.plugin.auth.impl.persistence.handler.support.MysqlPageHandlerAdapter;
@ -71,7 +72,7 @@ public class PageHandlerAdapterFactory {
// DerbyPageHandlerAdapter
addHandlerAdapter(new DerbyPageHandlerAdapter());
// DefaultPageHandlerAdapter
addHandlerAdapter(new DerbyPageHandlerAdapter());
addHandlerAdapter(new DefaultPageHandlerAdapter());
}
private void addHandlerAdapter(PageHandlerAdapter handlerAdapter) {