mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-23 00:52:51 +08:00
fix: use http
This commit is contained in:
parent
bd7e18ca42
commit
0afceb40f5
@ -1,10 +1,5 @@
|
||||
using KubeClient;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Ocelot.DependencyInjection;
|
||||
using Ocelot.ServiceDiscovery;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Ocelot.Provider.Kubernetes
|
||||
{
|
||||
|
@ -37,9 +37,9 @@ namespace Ocelot.UnitTests.Kubernetes
|
||||
{
|
||||
_serviceName = "test";
|
||||
_namespaces = "dev";
|
||||
_port = 8500;
|
||||
_port = 8001;
|
||||
_kubeHost = "localhost";
|
||||
_fakekubeServiceDiscoveryUrl = $"https://{_kubeHost}:{_port}";
|
||||
_fakekubeServiceDiscoveryUrl = $"http://{_kubeHost}:{_port}";
|
||||
_serviceEntries = new ServiceV1();
|
||||
_factory = new Mock<IOcelotLoggerFactory>();
|
||||
_clientFactory = new KubeApiClientFactory();
|
||||
|
Loading…
x
Reference in New Issue
Block a user