mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-05 13:05:17 +00:00
Fix typo (#3352)
Signed-off-by: peihongchen <171250610@smail.nju.edu.cn>
This commit is contained in:
@@ -319,7 +319,7 @@ type BackupProgress struct {
|
||||
// +kubebuilder:printcolumn:name="Storage Location",type="string",JSONPath=".spec.storageLocation",description="Name of the Backup Storage Location where this backup should be stored"
|
||||
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
|
||||
|
||||
// Backup is a Velero resource that respresents the capture of Kubernetes
|
||||
// Backup is a Velero resource that represents the capture of Kubernetes
|
||||
// cluster state at a point in time (API objects and associated volume state).
|
||||
type Backup struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
|
||||
@@ -37,7 +37,7 @@ func NewInitRestoreHookPodAction(logger logrus.FieldLogger) *InitRestoreHookPodA
|
||||
return &InitRestoreHookPodAction{logger: logger}
|
||||
}
|
||||
|
||||
// AppliesTo implements the RestoreItemAction plugin intrface method.
|
||||
// AppliesTo implements the RestoreItemAction plugin interface method.
|
||||
func (a *InitRestoreHookPodAction) AppliesTo() (velero.ResourceSelector, error) {
|
||||
return velero.ResourceSelector{
|
||||
IncludedResources: []string{"pods"},
|
||||
|
||||
Reference in New Issue
Block a user