Skip to content

Commit

Permalink
fix: app deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
tabathadelane committed Feb 22, 2022
1 parent 2edc57d commit dfb2bd2
Show file tree
Hide file tree
Showing 6 changed files with 3,106 additions and 16 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: 10.x
node-version: 16

- name: Cache node_modules
id: cache-node-modules
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: 10.x
node-version: 16

- name: Cache node_modules
id: cache-node-modules
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: 10.x
node-version: 16

- name: Cache node_modules
id: cache-node-modules
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 10.x
node-version: 16

- name: Cache node_modules
id: cache-node-modules
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 10.x
node-version: 16

- name: Download Cached Deps
id: cache-node-modules
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 14
node-version: 16

- name: Install dependencies
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion nerdlets/event-stream/components/event-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { navigation } from 'nr1';

function openChartBuilder(query, account) {
const nerdlet = {
id: 'wanda-data-exploration.nrql-editor',
id: 'data-exploration.nrql-editor',
urlState: {
initialActiveInterface: 'nrqlEditor',
initialChartType: 'json',
Expand Down
2 changes: 1 addition & 1 deletion nerdlets/event-stream/components/menu-bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function Filter({ attribute, value, removeFilter }) {

function openChartBuilder(query, account) {
const nerdlet = {
id: 'wanda-data-exploration.nrql-editor',
id: 'data-exploration.nrql-editor',
urlState: {
initialActiveInterface: 'nrqlEditor',
initialChartType: 'table',
Expand Down
1 change: 0 additions & 1 deletion nerdlets/event-stream/event-stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ export default class EventStream extends React.Component {
.toString()
.replace(/,/g, '');
if (queryTracker != query) {
console.log(`NRDB Query: ${query}`);
events = [];
eventLength = [];
await this.setState({ queryTracker: query });
Expand Down
Loading

0 comments on commit dfb2bd2

Please sign in to comment.