You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "iilyak (via GitHub)" <gi...@apache.org> on 2023/05/10 12:11:31 UTC

[GitHub] [couchdb] iilyak commented on a diff in pull request #4581: OTP 26 compatability

iilyak commented on code in PR #4581:
URL: https://github.com/apache/couchdb/pull/4581#discussion_r1189816053


##########
src/couch_log/src/couch_log_trunc_io.erl:
##########
@@ -352,7 +352,7 @@ map_body(Map, Max, #print_options{depth = Depth}) when Max < 4; Depth =:= 0 ->
         _ -> {"...", 3}
     end;
 map_body(Map, Max, Options) ->
-    case maps:to_list(Map) of
+    case lists:sort(maps:to_list(Map)) of

Review Comment:
   I think we should update the test instead. 
   
   ping @chewbranca 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org