Procházet zdrojové kódy

Fix slight bug in error handling

Guillaume Tardif před 5 roky
rodič
revize
1c94893d2f
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      server/proxy/containers.go

+ 1 - 1
server/proxy/containers.go

@@ -34,7 +34,7 @@ func (p *proxyContainerAPI) List(ctx context.Context, request *v1.ListRequest) (
 
 	c, err := client.ContainerService().List(ctx, request.GetAll())
 	if err != nil {
-		return &v1.ListResponse{}, nil
+		return &v1.ListResponse{}, err
 	}
 
 	response := &v1.ListResponse{