Skip to content

Commit

Permalink
Eunit fix.
Browse files Browse the repository at this point in the history
Signed-off-by: sreepuramsudheer <[email protected]>
  • Loading branch information
sreepuramsudheer committed Nov 26, 2024
1 parent 33a09c6 commit 216ce6b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ send_data(State) ->
case chef_telemetry:is_enabled() of
true ->
State1 = init_req(State),
NodeName = to_binary("NODE:" ++ binary:bin_to_list(envy:get(oc_chef_wm, actions_fqdn, <<"">>, binary))),
NodeName = to_binary("NODE:" ++ binary:bin_to_list(envy:get(oc_chef_wm, actions_fqdn, <<"">>, binary))),
case check_send(NodeName) of
true ->
[{_Server, ServerVersion, _, _}] = release_handler:which_releases(permanent),
Expand All @@ -176,9 +176,9 @@ get_api_fqdn(_State) ->
{ok, Rows} when is_list(Rows) ->
FQDNs = [binary:part(FQDN, 5, size(FQDN) -5) || [{<<"property">>, FQDN}] <- Rows],
FQDNs1 = mask(FQDNs),
FQDNs1;
FQDNs1;
_ ->
[]
[]
end.

get_org_nodes(OrgName, Query1, ReqId, DbContext) ->
Expand Down

0 comments on commit 216ce6b

Please sign in to comment.