Skip to content

Commit cf93cef

Browse files
authored
Fix missing creationDate in output (#18093)
1 parent a235107 commit cf93cef

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/NetAppFiles/NetAppFiles/Helpers/BackupExtensions.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ public static PSNetAppFilesBackup ConvertToPs(this Management.NetApp.Models.Back
3636
ProvisioningState = backup.ProvisioningState,
3737
Size = backup.Size,
3838
VolumeName = backup.VolumeName,
39-
UseExistingSnapshot = backup.UseExistingSnapshot
39+
UseExistingSnapshot = backup.UseExistingSnapshot,
40+
CreationDate = backup.CreationDate
4041
};
4142
return psBackup;
4243
}

src/NetAppFiles/NetAppFiles/Models/PSNetAppFilesBackup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public class PSNetAppFilesBackup
6060
/// <remarks>
6161
/// The creation date of the backup
6262
/// </remarks>
63-
public DateTime? CreationDate { get; }
63+
public DateTime? CreationDate { get; set; }
6464

6565
/// <summary>
6666
/// Gets Size

0 commit comments

Comments
 (0)