Closed mbercx closed 1 week ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 77.75%. Comparing base (
ef60b66
) to head (756aba4
). Report is 48 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Fixes #6476
When the user is using
verdi presto
to create more than 11 profiles, the command will fåail becausepresto-10
already exists. This is due to the fact that theget_default_presto_profile_name()
function sorts the existing indices as strings, which means10
will precede9
and hence the "last index" would be9
, making the new index10
, which already exists.Here we fix this issue by casting the extracted existing indices as integers, so the sorting works as intended.