Skip to content

Commit

Permalink
rename options
Browse files Browse the repository at this point in the history
  • Loading branch information
phm07 committed Jun 27, 2024
1 parent 513372e commit 0261566
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions internal/state/config/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ var (
)

OptionSortFloatingIP = newOpt(
"sort.floatingip",
"sort.floating-ip",
"Default sorting for Floating IP resource",
[]string{"id:asc"},
(DefaultPreferenceFlags&^OptionFlagPFlag)|OptionFlagSlice,
Expand All @@ -192,15 +192,15 @@ var (
)

OptionSortLoadBalancer = newOpt(
"sort.loadbalancer",
"sort.load-balancer",
"Default sorting for Load Balancer resource",
[]string{"id:asc"},
(DefaultPreferenceFlags&^OptionFlagPFlag)|OptionFlagSlice,
nil,
)

OptionSortLoadBalancerType = newOpt(
"sort.loadbalancertype",
"sort.load-balancer-type",
"Default sorting for Load Balancer Type resource",
[]string{"id:asc"},
(DefaultPreferenceFlags&^OptionFlagPFlag)|OptionFlagSlice,
Expand All @@ -224,15 +224,15 @@ var (
)

OptionSortPlacementGroup = newOpt(
"sort.placementgroup",
"sort.placement-group",
"Default sorting for Placement Group resource",
[]string{"id:asc"},
(DefaultPreferenceFlags&^OptionFlagPFlag)|OptionFlagSlice,
nil,
)

OptionSortPrimaryIP = newOpt(
"sort.primaryip",
"sort.primary-ip",
"Default sorting for Primary IP resource",
[]string{"id:asc"},
(DefaultPreferenceFlags&^OptionFlagPFlag)|OptionFlagSlice,
Expand All @@ -248,15 +248,15 @@ var (
)

OptionSortServerType = newOpt(
"sort.servertype",
"sort.server-type",
"Default sorting for Server Type resource",
[]string{"id:asc"},
(DefaultPreferenceFlags&^OptionFlagPFlag)|OptionFlagSlice,
nil,
)

OptionSortSSHKey = newOpt(
"sort.sshkey",
"sort.ssh-key",
"Default sorting for SSH Key resource",
[]string{"id:asc"},
(DefaultPreferenceFlags&^OptionFlagPFlag)|OptionFlagSlice,
Expand Down

0 comments on commit 0261566

Please sign in to comment.