Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1485 from helium/jsc/format-errors-0
Browse files Browse the repository at this point in the history
Fix format error.
  • Loading branch information
vihu authored Mar 15, 2022
2 parents 7f78cf2 + b15049e commit 9ffc737
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/poc/miner_poc_denylist.erl
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ handle_info(check, #state{type=github_release, url=URL, keys=Keys, version=Versi
lager:info("already have version ~p", [Version]),
{noreply, schedule_check(State#state{etag=proplists:get_value("etag", Headers)})};
NewVersion when NewVersion < Version->
lager:notice("denylist version has regressed from ~s to ~s, ignoring", [Version, NewVersion]),
lager:notice("denylist version has regressed from ~p to ~p, ignoring", [Version, NewVersion]),
{noreply, schedule_check(State#state{etag=proplists:get_value("etag", Headers)})};
NewVersion when NewVersion > Version ->
lager:info("new denylist version appeared: ~s have ~s", [NewVersion, Version]),
lager:info("new denylist version appeared: ~p have ~p", [NewVersion, Version]),
case maps:get(<<"assets">>, Json, undefined) of
undefined ->
lager:notice("no zipball_url for release ~p", [NewVersion]),
Expand Down

0 comments on commit 9ffc737

Please sign in to comment.