Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
rogeralsing committed Sep 16, 2020
1 parent ed07ce9 commit 70d1861
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions build-docker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

docker build -f dockerfile-reader . -t rogeralsing/clusterreader
docker build -f dockerfile-sender . -t rogeralsing/clustersender
File renamed without changes.
2 changes: 0 additions & 2 deletions src/Proto.Cluster.Kubernetes/KubernetesProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,6 @@ public async Task RegisterMemberAsync()
Logger.LogError(e, "Unable to update pod labels, registration failed");
throw;
}


}

private void StartClusterMonitor()
Expand Down
2 changes: 2 additions & 0 deletions src/Proto.Cluster.MongoIdentityLookup/MongoIdentityLookup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ public MongoIdentityLookup(string clusterName, IMongoDatabase db)
_clusterName = clusterName;
_db = db;
_pids = db.GetCollection<PidLookupEntity>("pids");
//just try to ping DB
_ = _pids.AsQueryable().FirstOrDefault(x => true);
}

public async Task<PID> GetAsync(string identity, string kind, CancellationToken ct)
Expand Down

0 comments on commit 70d1861

Please sign in to comment.