Skip to content

Commit cb04b18

Browse files
committed
fix the extension address checking
1 parent ea923fa commit cb04b18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/server/store_ext_manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ func (s *storeExtManager) Start(name, socket string) (err error) {
130130
}
131131

132132
func (s *storeExtManager) startPlugin(socketURL, plugin, pluginName string) (err error) {
133-
if strings.Contains(socketURL, ":") {
133+
if strings.Contains(socketURL, ":") && !strings.HasPrefix(socketURL, s.socketPrefix) {
134134
err = s.startPluginViaHTTP(socketURL, plugin, pluginName)
135135
return
136136
}

0 commit comments

Comments
 (0)