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

483 View in Grafana not working with smoketest.sh #489

Merged

Conversation

jan-law
Copy link
Contributor

@jan-law jan-law commented May 31, 2021

Fixes #483, where both the JFR datasource and the fibonacci demos attempted to bind to port 8080. Resolved by setting the fibonacci demos to listen at port 8081.

Question: I tried to update my branch with git pull upstream main and now the PR includes the changes made in commit 43713a3 as part of my PR. How do I fix that?

@jan-law jan-law requested a review from ebaron May 31, 2021 14:41
@andrewazores
Copy link
Member

andrewazores commented May 31, 2021

Question: I tried to update my branch with git pull upstream main and now the PR includes the changes made in commit 43713a3 as part of my PR. How do I fix that?

You can do a git reset --soft HEAD^ locally, which will undo your commit and move the changes into the staging area.You can then usegit reset, git add, git checkout, etc. to pare down the patch to just what you intend to include. Then git commit and force-push the new commit.

In the future, doing a git fetch upstream && git rebase -i upstream/main might be preferable to a git pull - doing the straight pull will merge the changes into your branch we see here, making PR review more confusing etc. I believe there is a way to configure git to do rebases when pulling rather than merges, too.

git config --global pull.rebase true - https://spin.atomicobject.com/2020/05/05/git-configurations-default/

@jan-law jan-law force-pushed the 483-grafana-not-viewable-with-smoketest branch from 71cd7f3 to 33961a3 Compare May 31, 2021 15:28
Copy link
Member

@ebaron ebaron left a comment

Choose a reason for hiding this comment

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

Looks good!

@ebaron ebaron merged commit a75ab73 into cryostatio:main May 31, 2021
@jan-law jan-law deleted the 483-grafana-not-viewable-with-smoketest branch May 31, 2021 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

View in Grafana not working with smoketest.sh
3 participants