mirror of
https://github.com/docker/cli.git
synced 2026-09-24 15:30:10 -05:00
Merge pull request #24776 from anusha-ragunathan/plugins-connect
Add only legacy plugins to the legacy lookup map. Upstream-commit: 6875f71d7c6a01b918fcc372ac2c17c5a0d65418 Component: engine
This commit is contained in:
@@ -83,6 +83,11 @@ func (p *Plugin) Client() *Client {
|
||||
return p.client
|
||||
}
|
||||
|
||||
// IsLegacy returns true for legacy plugins and false otherwise.
|
||||
func (p *Plugin) IsLegacy() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
// NewLocalPlugin creates a new local plugin.
|
||||
func NewLocalPlugin(name, addr string) *Plugin {
|
||||
return &Plugin{
|
||||
|
||||
Reference in New Issue
Block a user