Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in elastic agent dashboard #962

Merged
merged 4 commits into from
May 4, 2021
Merged

Fix typo in elastic agent dashboard #962

merged 4 commits into from
May 4, 2021

Conversation

smith
Copy link
Contributor

@smith smith commented Apr 29, 2021

What does this PR do?

Fix typo in elastic agent dashboard

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.

@smith smith added the bug Something isn't working label Apr 29, 2021
@elasticmachine
Copy link

elasticmachine commented Apr 29, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #962 updated

  • Start Time: 2021-05-04T14:58:13.688+0000

  • Duration: 42 min 14 sec

  • Commit: e9d9024

Test stats 🧪

Test Results
Failed 0
Passed 2042
Skipped 3
Total 2045

Trends 🧪

Image of Build Times

Image of Tests

}
Copy link
Contributor

@ycombinator ycombinator Apr 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect this newline change is why the CI build is failing. CI is pretty strict about formatting.

[2021-04-29T22:36:03.315Z] Error: checking package failed: formatting the integration failed (path: /var/lib/jenkins/workspace/gest-manager_integrations_PR-962/src/github.com/elastic/integrations/packages/elastic_agent, failFast: true): walking through the integration files failed: formatting file failed (path: /var/lib/jenkins/workspace/gest-manager_integrations_PR-962/src/github.com/elastic/integrations/packages/elastic_agent/kibana/dashboard/elastic_agent-f47f18cc-9c7d-4278-b2ea-a6dee816d395.json): file is not formatted (path: /var/lib/jenkins/workspace/gest-manager_integrations_PR-962/src/github.com/elastic/integrations/packages/elastic_agent/kibana/dashboard/elastic_agent-f47f18cc-9c7d-4278-b2ea-a6dee816d395.json)

From anywhere under the packages/elastic_agent folder, run elastic-package format. That should fix up any formatting.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made this change through the GitHub UI. I don't have this project checked out yet.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I see. Let me push up a commit that fixes the formatting.

Copy link
Contributor

@mtojek mtojek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please bump up the version and update changelog?

@smith
Copy link
Contributor Author

smith commented Apr 30, 2021

@smith smith requested a review from mtojek May 3, 2021 18:05
@mtojek
Copy link
Contributor

mtojek commented May 4, 2021

/test

Copy link
Contributor

@ycombinator ycombinator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@mtojek mtojek merged commit 4ec7f68 into master May 4, 2021
@ycombinator ycombinator deleted the smith-patch-1 branch May 4, 2021 17:26
james-elastic pushed a commit to james-elastic/integrations that referenced this pull request Jun 30, 2021
* Fix typo in elastic agent dashboard

* Running elastic-package format

* Changelog and version bump

* Debug: git diff to

Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com>
Co-authored-by: mtojek <marcin.tojek@elastic.co>
eyalkraft pushed a commit to build-security/integrations that referenced this pull request Mar 30, 2022
* Fix typo in elastic agent dashboard

* Running elastic-package format

* Changelog and version bump

* Debug: git diff to

Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com>
Co-authored-by: mtojek <marcin.tojek@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants