Skip to content

Commit

Permalink
fixup! do not initialize fields in ObjectMD that are not used in S3C
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerkesni committed Nov 5, 2024
1 parent 91a0e3a commit dfac121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/models/ObjectMD.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,7 @@ export default class ObjectMD {
* @return Whether replication from an NFS bucket
*/
getReplicationIsNFS() {
return this._data.replicationInfo.isNFS;
return this._data.replicationInfo.isNFS || null;
}

setReplicationSiteStatus(site: string, status: string) {
Expand Down

0 comments on commit dfac121

Please sign in to comment.