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

OCPBUGS-39218: fix double / in ResourceAddress #353

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

jzding
Copy link
Member

@jzding jzding commented Sep 11, 2024

No description provided.

@openshift-ci-robot
Copy link

@jzding: This pull request references Jira Issue OCPBUGS-39218, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

No GitHub users were found matching the public email listed for the QA contact in Jira ([email protected]), skipping review request.

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@@ -260,7 +260,10 @@ func (p *PTPEventManager) GetPTPEventsData(state ptp.SyncState, ptpOffset int64,
return nil
}
// /cluster/xyz/ptp/CLOCK_REALTIME this is not address the event is published to
eventSource := fmt.Sprintf(p.resourcePrefix, p.nodeName, fmt.Sprintf("/%s", source))
if !strings.HasPrefix(source, "/") {
Copy link
Member

Choose a reason for hiding this comment

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

use path.join
eventSource := fmt.Sprintf("%s", path.Join(p.resourcePrefix, p.nodeName, source))

Copy link
Member Author

Choose a reason for hiding this comment

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

can't simply use path.Join, this is what came out.
/cluster/node/%s%s/cnfdg4.ptp.eng.rdu2.dc.redhat.com/ptp-not-set
added more changes

@jzding jzding force-pushed the sync-status-slash branch 3 times, most recently from 1e0712d to 05a45db Compare September 12, 2024 15:05
@jzding jzding requested a review from aneeshkp September 12, 2024 16:00
@jzding
Copy link
Member Author

jzding commented Sep 12, 2024

/cherry-pick release-4.17

@openshift-cherrypick-robot

@jzding: once the present PR merges, I will cherry-pick it on top of release-4.17 in a new PR and assign it to you.

In response to this:

/cherry-pick release-4.17

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Copy link
Member

@aneeshkp aneeshkp left a comment

Choose a reason for hiding this comment

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

/lgtm

Copy link
Contributor

openshift-ci bot commented Sep 13, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aneeshkp, jzding

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 7fec29e into redhat-cne:main Sep 13, 2024
5 checks passed
@openshift-ci-robot
Copy link

@jzding: Jira Issue OCPBUGS-39218: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-39218 has been moved to the MODIFIED state.

In response to this:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-cherrypick-robot

@jzding: new pull request created: #355

In response to this:

/cherry-pick release-4.17

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

Distgit: cloud-event-proxy
This PR has been included in build cloud-event-proxy-container-v4.18.0-202409131540.p0.g7fec29e.assembly.stream.el9.
All builds following this will include this PR.

@jzding jzding deleted the sync-status-slash branch September 17, 2024 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants