daemon/cluster/controllers/plugin/controller.go
Method Controller.Prepare
has 6 return statements (exceeds 4 allowed). Open
Open
func (p *Controller) Prepare(ctx context.Context) (err error) {
p.logger.Debug("Prepare")
remote, err := reference.ParseNormalizedNamed(p.spec.Remote)
if err != nil {
Method Controller.Start
has 5 return statements (exceeds 4 allowed). Open
Open
func (p *Controller) Start(ctx context.Context) error {
p.logger.Debug("Start")
pl, err := p.backend.Get(p.pluginID)
if err != nil {
Method Controller.Remove
has 5 return statements (exceeds 4 allowed). Open
Open
func (p *Controller) Remove(ctx context.Context) error {
p.logger.Debug("Remove")
pl, err := p.backend.Get(p.pluginID)
if err != nil {
Method Controller.Wait
has 5 return statements (exceeds 4 allowed). Open
Open
func (p *Controller) Wait(ctx context.Context) error {
p.logger.Debug("Wait")
pl, err := p.backend.Get(p.pluginID)
if err != nil {