Skip to content

Commit

Permalink
address shaunak comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mshustov committed Apr 9, 2020
1 parent 7cd1475 commit b40ef71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('cluster', () => {

it('returns correct Cluster instance', () => {
const cluster = Cluster.fromUpstreamJSON(upstreamJSON);
expect(cluster.downstreamJSON).toEqual({ uuid: upstreamJSON.cluster_uuid });
expect(cluster.uuid).toEqual(upstreamJSON.cluster_uuid);
});
});
});
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/logstash/server/models/cluster/cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { get } from 'lodash';
* This model deals with a cluster object from ES and converts it to Kibana downstream
*/
export class Cluster {
private readonly uuid: string;
public readonly uuid: string;
constructor({ uuid }: { uuid: string }) {
this.uuid = uuid;
}
Expand Down

0 comments on commit b40ef71

Please sign in to comment.