Merge pull request #17494 from immanuwell/docs-fix-duplicated-words

docs: fix duplicated words in docs and comments
This commit is contained in:
Travis Nielsen
2026-05-12 12:41:18 -10:00
committed by GitHub
7 changed files with 7 additions and 7 deletions
@@ -108,7 +108,7 @@ OBCs in unexpected ways. At worst, users may brick the whole S3 object store for
(`bucketPolicy` in particular). Administrators should take care to enable features only when they
are personally willing to take on the risks.
OBC `additionalConfig` fields can be enabled and disabled using the the `rook-ceph-operator-config`
OBC `additionalConfig` fields can be enabled and disabled using the `rook-ceph-operator-config`
configmap value `ROOK_OBC_ALLOW_ADDITIONAL_CONFIG_FIELDS`.
### OBC Custom Resource after Bucket Provisioning
@@ -684,7 +684,7 @@ The Ceph Object Gateway supports accessing buckets using
[virtual host-style](https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html)
addressing, which allows addressing buckets using the bucket name as a subdomain in the endpoint.
AWS has deprecated the the alternative path-style addressing mode which is Rook and Ceph's default.
AWS has deprecated the alternative path-style addressing mode which is Rook and Ceph's default.
As a result, many end-user applications have begun to remove path-style support entirely. Many
production clusters will have to enable virtual host-style address.
@@ -109,7 +109,7 @@ func init() {
"The namespace for validation test resources. "+
"It is recommended to set this to the namespace in which Rook's Ceph cluster will be installed.")
// VarPF() keeps the the specific var passed to it for setting at runtime, and the current
// VarPF() keeps the specific var passed to it for setting at runtime, and the current
// val of that var when VarPF() is called is used as the default
validationConfig.ResourceTimeout = defaultConfig.ResourceTimeout
t := (*timeoutMinutes)(&validationConfig.ResourceTimeout)
+1 -1
View File
@@ -525,7 +525,7 @@ func listSubVolumeSnapshotPendingClones(context *clusterd.Context, clusterInfo *
}
if err := json.Unmarshal(buf, &pendingClones); err != nil {
return pendingClones, errors.Wrapf(err, "failed to unmarshal pending clones list for for snapshot %q in filesystem %q subvolume group %q", snap, fsName, groupName)
return pendingClones, errors.Wrapf(err, "failed to unmarshal pending clones list for snapshot %q in filesystem %q subvolume group %q", snap, fsName, groupName)
}
return pendingClones, nil
+1 -1
View File
@@ -63,7 +63,7 @@ type DeviceOsdIDEntry struct {
Config DesiredDevice // Device specific config options
PersistentDevicePaths []string
DeviceInfo *sys.LocalDisk // low-level info about the device
RestoreOSD bool // Restore OSD by reparing it with with OSD ID
RestoreOSD bool // Restore OSD by repairing it with OSD ID
}
func (m *DeviceOsdMapping) String() string {
+1 -1
View File
@@ -348,7 +348,7 @@ func TestUpdateServiceSelectors(t *testing.T) {
_, err2 := c.context.Clientset.CoreV1().Services(c.clusterInfo.Namespace).Create(clusterInfo.Context, &svc2, metav1.CreateOptions{})
assert.NoError(t, err2)
// Check the the label has been only removed from svc1
// Check the label has been only removed from svc1
c.updateServiceSelectors()
// Make sure we remove controller.DaemonIDLabel label from all services tagged as 'app: rook-ceph-mgr'
+1 -1
View File
@@ -60,7 +60,7 @@ func filesystemExists(clusterdCtx *clusterd.Context, clusterInfo *cephclient.Clu
_, err := cephclient.GetFilesystem(clusterdCtx, clusterInfo, name)
if err != nil {
if code, ok := kexec.ExitStatus(err); ok && code == int(syscall.ENOENT) {
log.NamedInfo(nsName, logger, "filesystem deletion will continue without checking for dependencies since the the filesystem does not exist within Ceph")
log.NamedInfo(nsName, logger, "filesystem deletion will continue without checking for dependencies since the filesystem does not exist within Ceph")
return false, nil
}
return false, errors.Wrapf(err, "failed to check for existence of CephFilesystem %q", nsName)