Skip to content

Commit

Permalink
Fix assertion failures by removing unused keys.
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyKuryanov committed Jul 10, 2018
1 parent 2783d26 commit dc329ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions librato-iOS/Metrics/LibratoGaugeMetric.m
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey
@"sum": sumKey,
@"min": minKey,
@"max": maxKey,
@"squares": squaresKey,
@"type": NSNull.null,
LibratoMetricValueKey: NSNull.null
@"squares": squaresKey
};
}

Expand Down
3 changes: 1 addition & 2 deletions librato-iOS/Metrics/LibratoMetric.m
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey
@"name": LibratoMetricNameKey,
@"value": LibratoMetricValueKey,
@"measureTime": LibratoMetricMeasureTimeKey,
@"source": LibratoMetricSourceKey,
@"type": NSNull.null
@"source": LibratoMetricSourceKey
};
}

Expand Down

0 comments on commit dc329ab

Please sign in to comment.