Skip to content

Commit

Permalink
refactor: remove local timeRangeToNrql function and use the labs-comp…
Browse files Browse the repository at this point in the history
…onents version
  • Loading branch information
shahramk committed Mar 26, 2024
1 parent be63c6f commit b9b47c0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 23 deletions.
21 changes: 0 additions & 21 deletions lib/timeRangeToNrql.js

This file was deleted.

2 changes: 1 addition & 1 deletion nerdlets/service-containers/service-containers.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
} from 'nr1';

import nrdbQuery from '../../lib/nrdb-query';
import { timeRangeToNrql } from '../../lib/timeRangeToNrql';
import { timeRangeToNrql } from '@newrelic/nr-labs-components';
import findRelatedAccountsWith from '../../lib/find-related-account-with';
import accountsWithData from '../../lib/accounts-with-data';

Expand Down
2 changes: 1 addition & 1 deletion nerdlets/shared/container-charts.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import { PlatformStateContext, LineChart, NrqlQuery, ChartGroup } from 'nr1';
import { timeRangeToNrql } from '../../lib/timeRangeToNrql';
import { timeRangeToNrql } from '@newrelic/nr-labs-components';

// roll up all of the facet data into a single summarized series.
function summarizeFacets(data) {
Expand Down

0 comments on commit b9b47c0

Please sign in to comment.