Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: bupd <[email protected]>
  • Loading branch information
bupd committed Jan 8, 2025
1 parent f50e1c2 commit 9d9b400
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -832,8 +832,13 @@ <h3 class="modal-title">{{ headerTitle | translate }}</h3>
[checked]="true"
id="singleActiveReplication"
formControlName="single_active_replication" />
<label for="singleActiveReplication" class="clr-control-label"
>{{ 'REPLICATION.SINGLE_ACTIVE_REPLICATION' | translate }}
<label
for="singleActiveReplication"
class="clr-control-label"
>{{
'REPLICATION.SINGLE_ACTIVE_REPLICATION'
| translate
}}
<clr-tooltip class="override-tooltip">
<clr-icon
clrTooltipTrigger
Expand All @@ -844,7 +849,8 @@ <h3 class="modal-title">{{ headerTitle | translate }}</h3>
clrSize="md"
*clrIfOpen>
<span>{{
'TOOLTIP.SINGLE_ACTIVE_REPLICATION' | translate
'TOOLTIP.SINGLE_ACTIVE_REPLICATION'
| translate
}}</span>
</clr-tooltip-content>
</clr-tooltip>
Expand Down
2 changes: 1 addition & 1 deletion src/server/v2.0/handler/replication.go
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ func convertReplicationPolicy(policy *repctlmodel.Policy) *models.ReplicationPol
Speed: &policy.Speed,
UpdateTime: strfmt.DateTime(policy.UpdateTime),
CopyByChunk: &policy.CopyByChunk,
SingleActiveReplication: &policy.SingleActiveReplication,
SingleActiveReplication: &policy.SingleActiveReplication,
}
if policy.SrcRegistry != nil {
p.SrcRegistry = convertRegistry(policy.SrcRegistry)
Expand Down

0 comments on commit 9d9b400

Please sign in to comment.