Skip to content

Commit

Permalink
Fixed a logic error
Browse files Browse the repository at this point in the history
  • Loading branch information
patsonluk committed Sep 6, 2024
1 parent 5d42896 commit 89c84ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ private abstract static class MetricsByPrefixApiCaller extends MetricsApiCaller
this.group = group;
this.prefix = prefix;
this.properties = properties;
this.property = properties.length > 1 ? properties[0] : null;
this.property = properties.length > 0 ? properties[0] : null;
}

@Override
Expand Down

0 comments on commit 89c84ae

Please sign in to comment.