Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: prepare release v3.0.0 #264

Merged
merged 3 commits into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ci/docs/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"log"

"github.com/UpCloudLtd/upcloud-cli/v2/internal/core"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/core"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ before:
builds:
- env:
- CGO_ENABLED=0
- GO_MODULE_NAME=github.com/UpCloudLtd/upcloud-cli/v2
- GO_MODULE_NAME=github.com/UpCloudLtd/upcloud-cli/v3
goos:
- linux
- windows
Expand Down
37 changes: 23 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [3.0.0] - 2023-10-18

This release updates output of `show` and `list` commands to return the API response as defined in the UpCloud Go SDK. See below for detailed list of changes.

In addition, `kubernetes create` will now, by default, block all access to the cluster. To be able to connect to the cluster, define list of allowed IP addresses and/or CIDR blocks or allow access from any IP.

### Added
- **Breaking**: Add `Kubernetes API allowed IPs` field to `kubernetes show` output. This changes default behavior from _allow access from any IP_ to _block access from all IPs_. To be able to connect to the cluster, define list of allowed IP addresses and/or CIDR blocks or allow access from any IP.
- **Breaking**: Add `--kubernetes-api-allow-ip` argument to `kubernetes create` command. This changes default behavior from _allow access from any IP_ to _block access from all IPs_. To be able to connect to the cluster, define list of allowed IP addresses and/or CIDR blocks or allow access from any IP.
- Add `Kubernetes API allowed IPs` field to `kubernetes show` output.
- Add `kubernetes nodegroup show` for displaying node-group details. This also adds _Nodes_ table and _Anti-affinity_ field that were not available in previous `kubernetes show` output.
- Add `kubernetes modify` command for modifying IP addresses that are allowed to access cluster's Kubernetes API.
- Add `--kubernetes-api-allow-ip` argument to `kubernetes create` command.
- Add `Kubernetes API allowed IPs` field to `kubernetes show` output.
- Add `database session list` for listing active database sessions
- Add `database session cancel` for cancelling an active database session
- Add `database session list` for listing active database sessions.
- Add `database session cancel` for cancelling an active database session.

### Changed
- **Breaking**: In JSON and YAML output of `loadbalancer list`: display full API response. This changes `state` field to `operational_state`.
- **Breaking**: `storage list` and `storage show` JSON and YAML outputs to return full API response. This changes `servers` field to contain `server` field, which in turn contains the servers. `labels` field will not be outputted if empty.
- **Breaking**: `server list` and `server show` JSON and YAML outputs to return full API response. This changes field `host_id` to `host`. `nics` is replaced with `networking` subfield `interfaces`. `storage` is replaced with `storage_devices`. `labels` contain subfield `label` which in turn contains the labels.
- **Breaking**: `server firewall show` JSON and YAML outputs to return full API response. This removes fields `destination` and `source` fields in favor of `[destination|source]_address_start`, `[destination|source]_address_end`, `[destination|source]_port_start` and `[destination|source]_port_end`
- In JSON and YAML output of `kubernetes list`: display full API response.
- **Breaking**: In JSON and YAML output of `database list`: display the full API response. Value of `title` is not replaced with value from `name`, if `title` is empty.
- **Breaking**: In JSON and YAML output of `database types`: display the full API response. This changes the top level datatype from list to object, where keys are the available database type, e.g., `pg` and `mysql`.
- **Breaking**: In JSON and YAML output of `ip-address list`: display full API response. This changes `partofplan` key to `part_of_plan` and `ptrrecord` key to `ptr_record`.
- **Breaking**: In JSON and YAML output of `network list` and `network show`: display full API response. Servers list will only contain server UUID and name. `ip_networks` contains subfield `ip_network` which in turn contains the networks.
- **Breaking**: In JSON and YAML output of `database list`: return the full API response. Value of `title` is not replaced with value from `name`, if `title` is empty.
- **Breaking**: In JSON and YAML output of `database types`: return the full API response. This changes the top level datatype from list to object, where keys are the available database type, e.g., `pg` and `mysql`.
- **Breaking**: In JSON and YAML output of `ip-address list`: return the full API response. This changes `partofplan` key to `part_of_plan` and `ptrrecord` key to `ptr_record`. The top level data-type changes from list to object.
- **Breaking**: In JSON and YAML output of `loadbalancer list`: return the full API response. This changes `state` field to `operational_state`.
- **Breaking**: In JSON and YAML output of `network list` and `network show`: return the full API response. Servers list will only contain server UUID and name. In `network list` output, the top level data-type changes from list to object.
- **Breaking**: In JSON and YAML output of `server list` and `server show`: return the full API response. This changes field `host_id` to `host`. `nics` is replaced with `networking` subfield `interfaces`. `storage` is replaced with `storage_devices`. `labels` contain subfield `label` which in turn contains the labels. In `server list` output, the top level data-type changes from list to object.
- **Breaking**: In JSON and YAML output of `server firewall show`: return the full API response. This removes fields `destination` and `source` fields in favor of `[destination|source]_address_start`, `[destination|source]_address_end`, `[destination|source]_port_start` and `[destination|source]_port_end`.
- **Breaking**: In JSON and YAML output of `server plans`: return the full API response. The top level data-type changes from list to object.
- **Breaking**: In JSON and YAML output of `storage list` and `storage show`: return the full API response. This changes `servers` field to contain `server` field, which in turn contains the servers. `labels` field will not be outputted if empty. In `storage list` output, the top level data-type changes from list to object.
- **Breaking**: In JSON and YAML output of `zone list`: return the full API response. The top level data-type changes from list to object.
- In JSON and YAML output of `kubernetes list`: return the full API response.
- In human readable output of `kubernetes show` command, show node-groups as table. Node-group details are available with `kubernetes nodegroup show` command.

## Fixed
Expand Down Expand Up @@ -285,7 +293,8 @@ Initial public beta release :tada:
### Added
- Current feature set added! First internal release

[Unreleased]: https://github.com/UpCloudLtd/upcloud-cli/compare/v2.10.0...HEAD
[Unreleased]: https://github.com/UpCloudLtd/upcloud-cli/compare/v3.0.0...HEAD
[3.0.0]: https://github.com/UpCloudLtd/upcloud-cli/compare/v2.10.0...v3.0.0
[2.10.0]: https://github.com/UpCloudLtd/upcloud-cli/compare/v2.9.1...v2.10.0
[2.9.1]: https://github.com/UpCloudLtd/upcloud-cli/compare/v2.9.0...v2.9.1
[2.9.0]: https://github.com/UpCloudLtd/upcloud-cli/compare/v2.8.0...v2.9.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Use "upctl [command] --help" for more information about a command.
Install the latest with Go by running:

```bash
go install github.com/UpCloudLtd/upcloud-cli/v2/...@latest
go install github.com/UpCloudLtd/upcloud-cli/v3/...@latest
```

To use upctl as a binary, download it from the
Expand Down
2 changes: 1 addition & 1 deletion cmd/upctl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"os"

"github.com/UpCloudLtd/upcloud-cli/v2/internal/core"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/core"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/UpCloudLtd/upcloud-cli/v2
module github.com/UpCloudLtd/upcloud-cli/v3

go 1.20

Expand Down
2 changes: 1 addition & 1 deletion internal/commands/account/account.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package account

import (
"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands"
)

// BaseAccountCommand creates the base 'account' command
Expand Down
4 changes: 2 additions & 2 deletions internal/commands/account/show.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"math"

"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/output"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/output"
)

// ShowCommand creates the 'account show' command
Expand Down
8 changes: 4 additions & 4 deletions internal/commands/account/show_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (

"github.com/jedib0t/go-pretty/v6/text"

"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/config"
smock "github.com/UpCloudLtd/upcloud-cli/v2/internal/mock"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/mockexecute"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/config"
smock "github.com/UpCloudLtd/upcloud-cli/v3/internal/mock"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/mockexecute"

"github.com/UpCloudLtd/upcloud-go-api/v6/upcloud"
"github.com/stretchr/testify/assert"
Expand Down
44 changes: 22 additions & 22 deletions internal/commands/all/all.go
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
package all

import (
"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands/account"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands/database"
databaseindex "github.com/UpCloudLtd/upcloud-cli/v2/internal/commands/database/index"
databaseproperties "github.com/UpCloudLtd/upcloud-cli/v2/internal/commands/database/properties"
databasesession "github.com/UpCloudLtd/upcloud-cli/v2/internal/commands/database/session"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands/ipaddress"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands/kubernetes"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands/kubernetes/nodegroup"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands/loadbalancer"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands/network"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands/root"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands/router"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands/server"
serverfirewall "github.com/UpCloudLtd/upcloud-cli/v2/internal/commands/server/firewall"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands/server/networkinterface"
serverstorage "github.com/UpCloudLtd/upcloud-cli/v2/internal/commands/server/storage"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands/servergroup"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands/storage"
storagebackup "github.com/UpCloudLtd/upcloud-cli/v2/internal/commands/storage/backup"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands/zone"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/config"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands/account"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands/database"
databaseindex "github.com/UpCloudLtd/upcloud-cli/v3/internal/commands/database/index"
databaseproperties "github.com/UpCloudLtd/upcloud-cli/v3/internal/commands/database/properties"
databasesession "github.com/UpCloudLtd/upcloud-cli/v3/internal/commands/database/session"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands/ipaddress"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands/kubernetes"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands/kubernetes/nodegroup"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands/loadbalancer"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands/network"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands/root"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands/router"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands/server"
serverfirewall "github.com/UpCloudLtd/upcloud-cli/v3/internal/commands/server/firewall"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands/server/networkinterface"
serverstorage "github.com/UpCloudLtd/upcloud-cli/v3/internal/commands/server/storage"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands/servergroup"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands/storage"
storagebackup "github.com/UpCloudLtd/upcloud-cli/v3/internal/commands/storage/backup"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands/zone"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/config"

"github.com/spf13/cobra"
)
Expand Down
8 changes: 4 additions & 4 deletions internal/commands/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"fmt"
"strings"

"github.com/UpCloudLtd/upcloud-cli/v2/internal/completion"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/config"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/output"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/resolver"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/completion"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/config"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/output"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/resolver"

"github.com/spf13/cobra"
"github.com/spf13/pflag"
Expand Down
2 changes: 1 addition & 1 deletion internal/commands/database/database.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package database

import (
"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands"
)

// BaseDatabaseCommand creates the base "database" command
Expand Down
8 changes: 4 additions & 4 deletions internal/commands/database/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package database
import (
"fmt"

"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/completion"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/output"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/resolver"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/completion"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/output"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/resolver"
"github.com/UpCloudLtd/upcloud-go-api/v6/upcloud/request"
)

Expand Down
6 changes: 3 additions & 3 deletions internal/commands/database/delete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package database
import (
"testing"

"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/config"
smock "github.com/UpCloudLtd/upcloud-cli/v2/internal/mock"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/config"
smock "github.com/UpCloudLtd/upcloud-cli/v3/internal/mock"

"github.com/UpCloudLtd/upcloud-go-api/v6/upcloud"
"github.com/UpCloudLtd/upcloud-go-api/v6/upcloud/request"
Expand Down
8 changes: 4 additions & 4 deletions internal/commands/database/index/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package databaseindex
import (
"fmt"

"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/completion"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/output"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/resolver"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/completion"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/output"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/resolver"

"github.com/UpCloudLtd/upcloud-go-api/v6/upcloud/request"
"github.com/spf13/pflag"
Expand Down
8 changes: 4 additions & 4 deletions internal/commands/database/index/delete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package databaseindex
import (
"testing"

"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/config"
smock "github.com/UpCloudLtd/upcloud-cli/v2/internal/mock"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/mockexecute"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/config"
smock "github.com/UpCloudLtd/upcloud-cli/v3/internal/mock"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/mockexecute"

"github.com/UpCloudLtd/upcloud-go-api/v6/upcloud/request"
"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion internal/commands/database/index/index.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package databaseindex

import (
"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands"
)

// BaseIndexCommand creates the base "database index" command
Expand Down
12 changes: 6 additions & 6 deletions internal/commands/database/index/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ package databaseindex
import (
"fmt"

"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/completion"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/format"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/output"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/resolver"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/ui"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/completion"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/format"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/output"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/resolver"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/ui"

"github.com/UpCloudLtd/upcloud-go-api/v6/upcloud/request"
)
Expand Down
8 changes: 4 additions & 4 deletions internal/commands/database/list.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package database

import (
"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/format"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/output"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/ui"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/format"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/output"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/ui"
"github.com/UpCloudLtd/upcloud-go-api/v6/upcloud/request"
)

Expand Down
8 changes: 4 additions & 4 deletions internal/commands/database/list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package database
import (
"testing"

"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/config"
smock "github.com/UpCloudLtd/upcloud-cli/v2/internal/mock"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/mockexecute"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/config"
smock "github.com/UpCloudLtd/upcloud-cli/v3/internal/mock"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/mockexecute"

"github.com/UpCloudLtd/upcloud-go-api/v6/upcloud"
"github.com/jedib0t/go-pretty/v6/text"
Expand Down
6 changes: 3 additions & 3 deletions internal/commands/database/plans.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package database
import (
"sort"

"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/completion"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/output"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/completion"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/output"
"github.com/UpCloudLtd/upcloud-go-api/v6/upcloud/request"
)

Expand Down
8 changes: 4 additions & 4 deletions internal/commands/database/plans_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"strings"
"testing"

"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/config"
smock "github.com/UpCloudLtd/upcloud-cli/v2/internal/mock"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/mockexecute"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/config"
smock "github.com/UpCloudLtd/upcloud-cli/v3/internal/mock"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/mockexecute"

"github.com/UpCloudLtd/upcloud-go-api/v6/upcloud"
"github.com/jedib0t/go-pretty/v6/text"
Expand Down
2 changes: 1 addition & 1 deletion internal/commands/database/properties/properties.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package databaseproperties

import (
"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands"
)

// PropertiesCommand creates the "database properties" command
Expand Down
8 changes: 4 additions & 4 deletions internal/commands/database/properties/show.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package databaseproperties
import (
"fmt"

"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/completion"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/format"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/output"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/completion"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/format"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/output"
"github.com/UpCloudLtd/upcloud-go-api/v6/upcloud/request"
)

Expand Down
6 changes: 3 additions & 3 deletions internal/commands/database/properties/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"fmt"
"sort"

"github.com/UpCloudLtd/upcloud-cli/v2/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/format"
"github.com/UpCloudLtd/upcloud-cli/v2/internal/output"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/commands"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/format"
"github.com/UpCloudLtd/upcloud-cli/v3/internal/output"
"github.com/UpCloudLtd/upcloud-go-api/v6/upcloud/request"
)

Expand Down
Loading