Skip to content

rados: Improve documentation for NewConnWith APIs#1218

Merged
mergify[bot] merged 1 commit into
ceph:masterfrom
anoopcs9:rados-fix-doc-comments
Jan 8, 2026
Merged

rados: Improve documentation for NewConnWith APIs#1218
mergify[bot] merged 1 commit into
ceph:masterfrom
anoopcs9:rados-fix-doc-comments

Conversation

@anoopcs9

@anoopcs9 anoopcs9 commented Jan 8, 2026

Copy link
Copy Markdown
Collaborator

NewConnWithUser() and NewConnWithClusterAndUser() bindings require the username in a format that matches the expectations of their respective underlying C APIs, rados_create() and rados_create2(). Clarify this requirement in the documentation comments so the expected format is unambiguous.

fixes #244

@anoopcs9 anoopcs9 added the no-API This PR does not include any changes to the public API of a go-ceph package label Jan 8, 2026
Comment thread rados/rados.go Outdated
Comment thread rados/rados.go Outdated
@anoopcs9 anoopcs9 force-pushed the rados-fix-doc-comments branch from d097d2d to cb1b23b Compare January 8, 2026 15:05
NewConnWithUser() and NewConnWithClusterAndUser() bindings require the
username in a format that matches the expectations of their respective
underlying C APIs, rados_create() and rados_create2(). Clarify this
requirement in the documentation comments so the expected format is
unambiguous.

Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
@anoopcs9 anoopcs9 force-pushed the rados-fix-doc-comments branch from cb1b23b to 61729ae Compare January 8, 2026 15:39
@mergify mergify Bot added the queued label Jan 8, 2026
@mergify mergify Bot merged commit fe27e65 into ceph:master Jan 8, 2026
17 checks passed
@mergify

mergify Bot commented Jan 8, 2026

Copy link
Copy Markdown
Contributor

Merge Queue Status

✅ The pull request has been merged at 61729ae

This pull request spent 7 seconds in the queue, with no time running CI.
The checks were run in-place.

Required conditions to merge
  • #approved-reviews-by >= 1 [🛡 GitHub branch protection]
  • #changes-requested-reviews-by = 0 [🛡 GitHub branch protection]
  • any of [🛡 GitHub branch protection]:
    • check-success = check
    • check-neutral = check
    • check-skipped = check
  • any of [🛡 GitHub branch protection]:
    • check-success = test-suite (pacific)
    • check-neutral = test-suite (pacific)
    • check-skipped = test-suite (pacific)
  • any of [🛡 GitHub branch protection]:
    • check-success = test-suite (quincy)
    • check-neutral = test-suite (quincy)
    • check-skipped = test-suite (quincy)
  • any of [🛡 GitHub branch protection]:
    • check-success = test-suite (reef)
    • check-neutral = test-suite (reef)
    • check-skipped = test-suite (reef)
  • any of [🛡 GitHub branch protection]:
    • check-success = test-suite (squid)
    • check-neutral = test-suite (squid)
    • check-skipped = test-suite (squid)

@mergify mergify Bot removed the queued label Jan 8, 2026
@anoopcs9 anoopcs9 deleted the rados-fix-doc-comments branch January 8, 2026 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-API This PR does not include any changes to the public API of a go-ceph package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inconsistent user name format between NewConnWithUser() and NewConnWithClusterAndUser()

2 participants