Skip to content

squid: common: fix string creation from '0' in LogEntry#58890

Merged
cbodley merged 1 commit intoceph:squidfrom
Matan-B:wip-matanb-logentry-string-1
Jul 31, 2024
Merged

squid: common: fix string creation from '0' in LogEntry#58890
cbodley merged 1 commit intoceph:squidfrom
Matan-B:wip-matanb-logentry-string-1

Conversation

@Matan-B
Copy link
Contributor

@Matan-B Matan-B commented Jul 28, 2024

This breaks squid branch makecheck

C++23 disallows conversion from 'int' to 'string'. That includes returning '0' from a function that returns a string.

Signed-off-by: Ronen Friedman rfriedma@redhat.com
(cherry picked from commit b854bfc)

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows
  • jenkins test rook e2e

@Matan-B Matan-B requested review from a team, ronen-fr and rzarzynski July 28, 2024 10:37
@Matan-B Matan-B changed the title common: fix string creation from '0' in LogEntry squid: common: fix string creation from '0' in LogEntry Jul 28, 2024
@github-actions github-actions bot added this to the squid milestone Jul 28, 2024
C++23 disallows conversion from 'int' to 'string'.
That includes returning '0' from a function that returns a string.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit b854bfc)
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
@Matan-B Matan-B force-pushed the wip-matanb-logentry-string-1 branch from ba8632b to 40169c1 Compare July 28, 2024 10:41
@Matan-B
Copy link
Contributor Author

Matan-B commented Jul 28, 2024

jenkins test make check

@Matan-B
Copy link
Contributor Author

Matan-B commented Jul 29, 2024

jenkins test api

@Matan-B
Copy link
Contributor Author

Matan-B commented Jul 30, 2024

jenkins test api

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.

4 participants