Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
fix outdated type
Browse files Browse the repository at this point in the history
  • Loading branch information
sosodev committed Jan 10, 2024
1 parent 9b3b335 commit cf32bb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/client/snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func (c *DefaultClient) SnapshotRestore(ctx context.Context, snapshotName string
return err
}

var resources corev1.ResourceRequirements
var resources corev1.VolumeResourceRequirements
err = json.Unmarshal([]byte(snapshot.Annotations[annotationResources]), &resources)
if err != nil {
return err
Expand Down

0 comments on commit cf32bb5

Please sign in to comment.