mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-02-14 18:09:58 +00:00
chore: update errors.go with spelling error fixes (#1340)
Signed-off-by: Casper Thygesen <cth@trifork.com>
This commit is contained in:
@@ -2104,7 +2104,7 @@ spec:
|
||||
uid: 1b3aa814-3b0c-4912-9bd9-112820da38fe
|
||||
```
|
||||
|
||||
Once the `PeristentVolume` become available again, it can be referenced by any `PersistentVolumeClaim` in the `atreides` Tenant Namespace resources.
|
||||
Once the `PersistentVolume` become available again, it can be referenced by any `PersistentVolumeClaim` in the `atreides` Tenant Namespace resources.
|
||||
|
||||
If another Tenant, like `harkonnen`, tries to use it, it will get an error:
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ func NewMissingPVLabelsError(name string) error {
|
||||
}
|
||||
|
||||
func (m missingPVLabelsError) Error() string {
|
||||
return fmt.Sprintf("PeristentVolume %s is missing any label, please, ask the Cluster Administrator to label it", m.name)
|
||||
return fmt.Sprintf("PersistentVolume %s is missing any label, please, ask the Cluster Administrator to label it", m.name)
|
||||
}
|
||||
|
||||
type missingPVTenantLabelsError struct {
|
||||
@@ -65,7 +65,7 @@ func NewMissingTenantPVLabelsError(name string) error {
|
||||
}
|
||||
|
||||
func (m missingPVTenantLabelsError) Error() string {
|
||||
return fmt.Sprintf("PeristentVolume %s is missing the Capsule Tenant label, preventing a potential cross-tenant mount", m.name)
|
||||
return fmt.Sprintf("PersistentVolume %s is missing the Capsule Tenant label, preventing a potential cross-tenant mount", m.name)
|
||||
}
|
||||
|
||||
type crossTenantPVMountError struct {
|
||||
@@ -79,7 +79,7 @@ func NewCrossTenantPVMountError(name string) error {
|
||||
}
|
||||
|
||||
func (m crossTenantPVMountError) Error() string {
|
||||
return fmt.Sprintf("PeristentVolume %s cannot be used by the following Tenant, preventing a cross-tenant mount", m.name)
|
||||
return fmt.Sprintf("PersistentVolume %s cannot be used by the following Tenant, preventing a cross-tenant mount", m.name)
|
||||
}
|
||||
|
||||
type pvSelectorError struct{}
|
||||
|
||||
Reference in New Issue
Block a user