Skip to content

Commit

Permalink
fix(region): snapshot policy sync external id (#19042)
Browse files Browse the repository at this point in the history
  • Loading branch information
ioito authored Dec 18, 2023
1 parent f4e1324 commit 9814236
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/compute/models/snapshotpolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ func (self *SCloudregion) newFromCloudPolicy(
policy.SetModelManager(SnapshotPolicyManager, policy)
policy.CloudregionId = self.Id
policy.ManagerId = provider.Id
policy.ExternalId = ext.GetGlobalId()
policy.RetentionDays = ext.GetRetentionDays()
var err error
policy.RepeatWeekdays, err = ext.GetRepeatWeekdays()
Expand Down

0 comments on commit 9814236

Please sign in to comment.