Skip to content

Commit 66625ee

Browse files
committed
networkmanager: Lint fixes
1 parent ffe3782 commit 66625ee

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pkg/networkmanager/bond.jsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ const bond_monitoring_choices =
5656
];
5757

5858
const modes_with_primary = [
59-
'active-backup',
60-
'balance-tlb',
61-
'balance-alb'
62-
];
59+
'active-backup',
60+
'balance-tlb',
61+
'balance-alb'
62+
];
6363

6464
export const BondDialog = ({ connection, dev, settings }) => {
6565
const Dialogs = useDialogs();
@@ -87,7 +87,7 @@ export const BondDialog = ({ connection, dev, settings }) => {
8787

8888
const onSubmit = (ev) => {
8989
const options = settings.bond.options;
90-
delete options['primary'];
90+
delete options.primary;
9191

9292
const createSettingsObj = () => ({
9393
...settings,

0 commit comments

Comments
 (0)