Skip to content

Commit 604b6d0

Browse files
committed
[X-Pack] Add license namespace when using xpack
1 parent 76c9eb1 commit 604b6d0

File tree

1 file changed

+4
-0
lines changed
  • elasticsearch-xpack/lib/elasticsearch

1 file changed

+4
-0
lines changed

elasticsearch-xpack/lib/elasticsearch/xpack.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ def data_frame
7575
def ilm
7676
@ilm ||= xpack.ilm
7777
end
78+
79+
def license
80+
@license ||= xpack.license
81+
end
7882
end
7983
end
8084
end if defined?(Elasticsearch::Transport::Client)

0 commit comments

Comments
 (0)