Skip to content

Commit

Permalink
Merge pull request #1 from hmG3/typo-seach-word
Browse files Browse the repository at this point in the history
Fix typo in the "seach" word
  • Loading branch information
cdpidan authored Nov 2, 2018
2 parents e6602e0 + bd19ae5 commit 4ae3476
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions src/Abp.ElasticSearch/Auditing/ElasticSearchAuditingStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ namespace Abp.Auditing
{
public class ElasticSearchAuditingStore : IAuditingStore, ITransientDependency
{
private readonly IElasticSeachClientProvider _elasticSeachClientProvider;
private readonly IElasticSearchClientProvider _elasticSearchClientProvider;
private readonly IElasticSearchConfiguration _elasticSearchConfiguration;

public ElasticSearchAuditingStore(IElasticSeachClientProvider elasticSeachClientProvider,
public ElasticSearchAuditingStore(IElasticSearchClientProvider elasticSearchClientProvider,
IElasticSearchConfiguration elasticSearchConfiguration)
{
_elasticSeachClientProvider = elasticSeachClientProvider;
_elasticSearchClientProvider = elasticSearchClientProvider;
_elasticSearchConfiguration = elasticSearchConfiguration;
}

public async Task SaveAsync(AuditInfo auditInfo)
{
await _elasticSeachClientProvider.ElasticClient.IndexAsync(auditInfo,
await _elasticSearchClientProvider.ElasticClient.IndexAsync(auditInfo,
x => x.Index(_elasticSearchConfiguration.AuditingLogIndexName));
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@

namespace Abp.ElasticSearch
{
public class ElasticSeachClientProvider : IElasticSeachClientProvider, ISingletonDependency
public class ElasticSearchClientProvider : IElasticSearchClientProvider, ISingletonDependency
{
private readonly IElasticSearchConfiguration _elasticSearchConfigration;
private readonly Lazy<IElasticClient> _client;

public ElasticSeachClientProvider(IElasticSearchConfiguration elasticSearchConfigration)
public ElasticSearchClientProvider(IElasticSearchConfiguration elasticSearchConfigration)
{
_elasticSearchConfigration = elasticSearchConfigration;
_client = new Lazy<IElasticClient>(CreatElasticClient);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Abp.ElasticSearch
{
public interface IElasticSeachClientProvider
public interface IElasticSearchClientProvider
{
IElasticClient ElasticClient { get; }
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public override void PreInitialize()
Configuration.Modules.ElasticSearch().AuthPassWord = "elasticpw";
Configuration.Modules.ElasticSearch().UseAuditingLog = false;

Configuration.ReplaceService<IElasticSeachClientProvider, ElasticSearchClientTestProvider>();
Configuration.ReplaceService<IElasticSearchClientProvider, ElasticSearchClientTestProvider>();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace Abp.ElasticSearch.Tests.ElasticSearch
{
public class ElasticSearchClientTestProvider : IElasticSeachClientProvider
public class ElasticSearchClientTestProvider : IElasticSearchClientProvider
{
private IElasticClient _client;

Expand Down

0 comments on commit 4ae3476

Please sign in to comment.