Skip to content

Commit

Permalink
Migrate to rig v2 wip
Browse files Browse the repository at this point in the history
Signed-off-by: Kimmo Lehto <[email protected]>
  • Loading branch information
kke committed Aug 15, 2024
1 parent 891ca56 commit 5ecb58f
Show file tree
Hide file tree
Showing 47 changed files with 81 additions and 81 deletions.
2 changes: 1 addition & 1 deletion action/config_edit.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/k0sproject/k0sctl/analytics"
"github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1"
"github.com/k0sproject/rig/exec"
"github.com/k0sproject/rig/v2/exec"

osexec "os/exec"

Expand Down
2 changes: 1 addition & 1 deletion action/config_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/k0sproject/k0sctl/analytics"
"github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1"
"github.com/k0sproject/rig/exec"
"github.com/k0sproject/rig/v2/exec"
)

type ConfigStatus struct {
Expand Down
4 changes: 2 additions & 2 deletions cmd/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
"github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1"
"github.com/k0sproject/k0sctl/pkg/retry"
k0sctl "github.com/k0sproject/k0sctl/version"
"github.com/k0sproject/rig"
"github.com/k0sproject/rig/exec"
"github.com/k0sproject/rig/v2"
"github.com/k0sproject/rig/v2/exec"
"github.com/logrusorgru/aurora"
"github.com/shiena/ansicolor"
log "github.com/sirupsen/logrus"
Expand Down
2 changes: 1 addition & 1 deletion cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/k0sproject/dig"
"github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1"
"github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1/cluster"
"github.com/k0sproject/rig"
"github.com/k0sproject/rig/v2"

"github.com/urfave/cli/v2"
"gopkg.in/yaml.v2"
Expand Down
4 changes: 2 additions & 2 deletions configurer/linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"sync"

"github.com/alessio/shellescape"
"github.com/k0sproject/rig/exec"
"github.com/k0sproject/rig/os"
"github.com/k0sproject/rig/v2/exec"

Check failure on line 12 in configurer/linux.go

View workflow job for this annotation

GitHub Actions / build

missing go.sum entry for module providing package github.com/k0sproject/rig/v2/exec (imported by github.com/k0sproject/k0sctl/cmd); to add:

Check failure on line 12 in configurer/linux.go

View workflow job for this annotation

GitHub Actions / Analyze (go)

no required module provides package github.com/k0sproject/rig/v2/exec; to add it:

Check failure on line 12 in configurer/linux.go

View workflow job for this annotation

GitHub Actions / build

missing go.sum entry for module providing package github.com/k0sproject/rig/v2/exec (imported by github.com/k0sproject/k0sctl/cmd); to add:

Check failure on line 12 in configurer/linux.go

View workflow job for this annotation

GitHub Actions / unit-test (ubuntu-latest)

missing go.sum entry for module providing package github.com/k0sproject/rig/v2/exec (imported by github.com/k0sproject/k0sctl/action); to add:
"github.com/k0sproject/rig/v2/os"

Check failure on line 13 in configurer/linux.go

View workflow job for this annotation

GitHub Actions / build

missing go.sum entry for module providing package github.com/k0sproject/rig/v2/os (imported by github.com/k0sproject/k0sctl/phase); to add:

Check failure on line 13 in configurer/linux.go

View workflow job for this annotation

GitHub Actions / build

missing go.sum entry for module providing package github.com/k0sproject/rig/v2/os (imported by github.com/k0sproject/k0sctl/phase); to add:

Check failure on line 13 in configurer/linux.go

View workflow job for this annotation

GitHub Actions / unit-test (ubuntu-latest)

missing go.sum entry for module providing package github.com/k0sproject/rig/v2/os (imported by github.com/k0sproject/k0sctl/configurer); to add:
"github.com/k0sproject/version"
)

Expand Down
8 changes: 4 additions & 4 deletions configurer/linux/alpine.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"strings"

"github.com/k0sproject/k0sctl/configurer"
"github.com/k0sproject/rig"
"github.com/k0sproject/rig/exec"
"github.com/k0sproject/rig/os"
"github.com/k0sproject/rig/os/registry"
"github.com/k0sproject/rig/v2"

Check failure on line 7 in configurer/linux/alpine.go

View workflow job for this annotation

GitHub Actions / build

missing go.sum entry for module providing package github.com/k0sproject/rig/v2 (imported by github.com/k0sproject/k0sctl/cmd); to add:

Check failure on line 7 in configurer/linux/alpine.go

View workflow job for this annotation

GitHub Actions / build

missing go.sum entry for module providing package github.com/k0sproject/rig/v2 (imported by github.com/k0sproject/k0sctl/cmd); to add:

Check failure on line 7 in configurer/linux/alpine.go

View workflow job for this annotation

GitHub Actions / unit-test (ubuntu-latest)

missing go.sum entry for module providing package github.com/k0sproject/rig/v2 (imported by github.com/k0sproject/k0sctl/cmd); to add:
"github.com/k0sproject/rig/v2/exec"
"github.com/k0sproject/rig/v2/os"
"github.com/k0sproject/rig/v2/os/registry"

Check failure on line 10 in configurer/linux/alpine.go

View workflow job for this annotation

GitHub Actions / build

missing go.sum entry for module providing package github.com/k0sproject/rig/v2/os/registry (imported by github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1/cluster); to add:

Check failure on line 10 in configurer/linux/alpine.go

View workflow job for this annotation

GitHub Actions / Analyze (go)

no required module provides package github.com/k0sproject/rig/v2/os/registry; to add it:

Check failure on line 10 in configurer/linux/alpine.go

View workflow job for this annotation

GitHub Actions / build

missing go.sum entry for module providing package github.com/k0sproject/rig/v2/os/registry (imported by github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1/cluster); to add:

Check failure on line 10 in configurer/linux/alpine.go

View workflow job for this annotation

GitHub Actions / unit-test (ubuntu-latest)

missing go.sum entry for module providing package github.com/k0sproject/rig/v2/os/registry (imported by github.com/k0sproject/k0sctl/configurer/linux); to add:
)

// BaseLinux for tricking go interfaces
Expand Down
6 changes: 3 additions & 3 deletions configurer/linux/archlinux.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package linux

import (
"github.com/k0sproject/k0sctl/configurer"
"github.com/k0sproject/rig"
"github.com/k0sproject/rig/os/linux"
"github.com/k0sproject/rig/os/registry"
"github.com/k0sproject/rig/v2"
"github.com/k0sproject/rig/v2/os/linux"

Check failure on line 6 in configurer/linux/archlinux.go

View workflow job for this annotation

GitHub Actions / build

missing go.sum entry for module providing package github.com/k0sproject/rig/v2/os/linux (imported by github.com/k0sproject/k0sctl/configurer/linux); to add:

Check failure on line 6 in configurer/linux/archlinux.go

View workflow job for this annotation

GitHub Actions / Analyze (go)

no required module provides package github.com/k0sproject/rig/v2/os/linux; to add it:

Check failure on line 6 in configurer/linux/archlinux.go

View workflow job for this annotation

GitHub Actions / build

missing go.sum entry for module providing package github.com/k0sproject/rig/v2/os/linux (imported by github.com/k0sproject/k0sctl/configurer/linux); to add:

Check failure on line 6 in configurer/linux/archlinux.go

View workflow job for this annotation

GitHub Actions / unit-test (ubuntu-latest)

missing go.sum entry for module providing package github.com/k0sproject/rig/v2/os/linux (imported by github.com/k0sproject/k0sctl/configurer/linux); to add:
"github.com/k0sproject/rig/v2/os/registry"
)

// Archlinux provides OS support for Archlinux systems
Expand Down
6 changes: 3 additions & 3 deletions configurer/linux/coreos.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"errors"
"strings"

"github.com/k0sproject/rig"
"github.com/k0sproject/rig/os"
"github.com/k0sproject/rig/os/registry"
"github.com/k0sproject/rig/v2"
"github.com/k0sproject/rig/v2/os"
"github.com/k0sproject/rig/v2/os/registry"
)

// CoreOS provides OS support for ostree based Fedora & RHEL systems
Expand Down
6 changes: 3 additions & 3 deletions configurer/linux/debian.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package linux

import (
"github.com/k0sproject/k0sctl/configurer"
"github.com/k0sproject/rig"
"github.com/k0sproject/rig/os/linux"
"github.com/k0sproject/rig/os/registry"
"github.com/k0sproject/rig/v2"
"github.com/k0sproject/rig/v2/os/linux"
"github.com/k0sproject/rig/v2/os/registry"
)

// Debian provides OS support for Debian systems
Expand Down
2 changes: 1 addition & 1 deletion configurer/linux/enterpriselinux.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package linux

import (
"github.com/k0sproject/k0sctl/configurer"
"github.com/k0sproject/rig/os/linux"
"github.com/k0sproject/rig/v2/os/linux"
)

// EnterpriseLinux is a base package for several RHEL-like enterprise linux distributions
Expand Down
4 changes: 2 additions & 2 deletions configurer/linux/enterpriselinux/almalinux.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package enterpriselinux
import (
"github.com/k0sproject/k0sctl/configurer"
k0slinux "github.com/k0sproject/k0sctl/configurer/linux"
"github.com/k0sproject/rig"
"github.com/k0sproject/rig/os/registry"
"github.com/k0sproject/rig/v2"
"github.com/k0sproject/rig/v2/os/registry"
)

// AlmaLinux provides OS support for AlmaLinux
Expand Down
6 changes: 3 additions & 3 deletions configurer/linux/enterpriselinux/amazon.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package enterpriselinux
import (
"github.com/k0sproject/k0sctl/configurer"
k0slinux "github.com/k0sproject/k0sctl/configurer/linux"
"github.com/k0sproject/rig"
"github.com/k0sproject/rig/os"
"github.com/k0sproject/rig/os/registry"
"github.com/k0sproject/rig/v2"
"github.com/k0sproject/rig/v2/os"
"github.com/k0sproject/rig/v2/os/registry"
)

// AmazonLinux provides OS support for AmazonLinux
Expand Down
4 changes: 2 additions & 2 deletions configurer/linux/enterpriselinux/centos.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package enterpriselinux
import (
"github.com/k0sproject/k0sctl/configurer"
k0slinux "github.com/k0sproject/k0sctl/configurer/linux"
"github.com/k0sproject/rig"
"github.com/k0sproject/rig/os/registry"
"github.com/k0sproject/rig/v2"
"github.com/k0sproject/rig/v2/os/registry"
)

// CentOS provides OS support for CentOS
Expand Down
4 changes: 2 additions & 2 deletions configurer/linux/enterpriselinux/fedora.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

"github.com/k0sproject/k0sctl/configurer"
k0slinux "github.com/k0sproject/k0sctl/configurer/linux"
"github.com/k0sproject/rig"
"github.com/k0sproject/rig/os/registry"
"github.com/k0sproject/rig/v2"
"github.com/k0sproject/rig/v2/os/registry"
)

// Fedora provides OS support for Fedora
Expand Down
4 changes: 2 additions & 2 deletions configurer/linux/enterpriselinux/oracle.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package enterpriselinux
import (
"github.com/k0sproject/k0sctl/configurer"
k0slinux "github.com/k0sproject/k0sctl/configurer/linux"
"github.com/k0sproject/rig"
"github.com/k0sproject/rig/os/registry"
"github.com/k0sproject/rig/v2"
"github.com/k0sproject/rig/v2/os/registry"
)

// OracleLinux provides OS support for Oracle Linuc
Expand Down
4 changes: 2 additions & 2 deletions configurer/linux/enterpriselinux/rhel.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"strings"

k0slinux "github.com/k0sproject/k0sctl/configurer/linux"
"github.com/k0sproject/rig"
"github.com/k0sproject/rig/os/registry"
"github.com/k0sproject/rig/v2"
"github.com/k0sproject/rig/v2/os/registry"
)

// RHEL provides OS support for RedHat Enterprise Linux
Expand Down
4 changes: 2 additions & 2 deletions configurer/linux/enterpriselinux/rocky.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package enterpriselinux
import (
"github.com/k0sproject/k0sctl/configurer"
k0slinux "github.com/k0sproject/k0sctl/configurer/linux"
"github.com/k0sproject/rig"
"github.com/k0sproject/rig/os/registry"
"github.com/k0sproject/rig/v2"
"github.com/k0sproject/rig/v2/os/registry"
)

// RockyLinux provides OS support for RockyLinux
Expand Down
6 changes: 3 additions & 3 deletions configurer/linux/flatcar.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package linux
import (
"errors"

"github.com/k0sproject/rig"
"github.com/k0sproject/rig/os"
"github.com/k0sproject/rig/os/registry"
"github.com/k0sproject/rig/v2"
"github.com/k0sproject/rig/v2/os"
"github.com/k0sproject/rig/v2/os/registry"
)

type Flatcar struct {
Expand Down
2 changes: 1 addition & 1 deletion configurer/linux/linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"io"
"testing"

"github.com/k0sproject/rig/exec"
"github.com/k0sproject/rig/v2/exec"
"github.com/stretchr/testify/require"
)

Expand Down
4 changes: 2 additions & 2 deletions configurer/linux/opensuse.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package linux

import (
"github.com/k0sproject/rig"
"github.com/k0sproject/rig/os/registry"
"github.com/k0sproject/rig/v2"
"github.com/k0sproject/rig/v2/os/registry"
)

// OpenSUSE provides OS support for OpenSUSE
Expand Down
6 changes: 3 additions & 3 deletions configurer/linux/slackware.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"fmt"
"strings"

"github.com/k0sproject/rig"
"github.com/k0sproject/rig/os"
"github.com/k0sproject/rig/os/registry"
"github.com/k0sproject/rig/v2"
"github.com/k0sproject/rig/v2/os"
"github.com/k0sproject/rig/v2/os/registry"
)

// Slackware provides OS support for Slackware Linux
Expand Down
8 changes: 4 additions & 4 deletions configurer/linux/sles.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package linux

import (
"github.com/k0sproject/rig"
"github.com/k0sproject/rig/os"
"github.com/k0sproject/rig/os/linux"
"github.com/k0sproject/rig/os/registry"
"github.com/k0sproject/rig/v2"
"github.com/k0sproject/rig/v2/os"
"github.com/k0sproject/rig/v2/os/linux"
"github.com/k0sproject/rig/v2/os/registry"
)

// SLES provides OS support for Suse SUSE Linux Enterprise Server
Expand Down
4 changes: 2 additions & 2 deletions configurer/linux/ubuntu.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package linux

import (
"github.com/k0sproject/rig"
"github.com/k0sproject/rig/os/registry"
"github.com/k0sproject/rig/v2"
"github.com/k0sproject/rig/v2/os/registry"
)

// Ubuntu provides OS support for Ubuntu systems
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ require (
github.com/gofrs/uuid v4.4.0+incompatible // indirect
github.com/hashicorp/go-version v1.7.0 // indirect
github.com/k0sproject/dig v0.2.0
github.com/k0sproject/rig v0.18.6
github.com/k0sproject/rig/v2 v2.0.0-alpha.3
github.com/logrusorgru/aurora v2.0.3+incompatible
github.com/masterzen/simplexml v0.0.0-20190410153822-31eea3082786 // indirect
github.com/masterzen/winrm v0.0.0-20240702205601-3fad6e106085 // indirect
Expand Down
2 changes: 1 addition & 1 deletion phase/backup.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1"
"github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1/cluster"
"github.com/k0sproject/rig/exec"
"github.com/k0sproject/rig/v2/exec"
"github.com/k0sproject/version"
log "github.com/sirupsen/logrus"
)
Expand Down
2 changes: 1 addition & 1 deletion phase/configure_k0s.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1/cluster"
"github.com/k0sproject/k0sctl/pkg/node"
"github.com/k0sproject/k0sctl/pkg/retry"
"github.com/k0sproject/rig/exec"
"github.com/k0sproject/rig/v2/exec"
"github.com/k0sproject/version"
"github.com/sergi/go-diff/diffmatchpatch"
log "github.com/sirupsen/logrus"
Expand Down
2 changes: 1 addition & 1 deletion phase/connect.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1/cluster"
"github.com/k0sproject/k0sctl/pkg/retry"
"github.com/k0sproject/rig"
"github.com/k0sproject/rig/v2"
log "github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion phase/download_k0s.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1"
"github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1/cluster"
"github.com/k0sproject/rig/exec"
"github.com/k0sproject/rig/v2/exec"
log "github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion phase/gather_k0s_facts.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1"
"github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1/cluster"
"github.com/k0sproject/k0sctl/pkg/node"
"github.com/k0sproject/rig/exec"
"github.com/k0sproject/rig/v2/exec"
"github.com/k0sproject/version"
log "github.com/sirupsen/logrus"
)
Expand Down
2 changes: 1 addition & 1 deletion phase/get_kubeconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/alessio/shellescape"
"github.com/k0sproject/dig"
"github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1/cluster"
"github.com/k0sproject/rig/exec"
"github.com/k0sproject/rig/v2/exec"
"gopkg.in/yaml.v2"
"k8s.io/client-go/tools/clientcmd"
)
Expand Down
2 changes: 1 addition & 1 deletion phase/get_kubeconfig_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/k0sproject/dig"
"github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1"
"github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1/cluster"
"github.com/k0sproject/rig"
"github.com/k0sproject/rig/v2"
"github.com/stretchr/testify/require"
"k8s.io/client-go/tools/clientcmd"
)
Expand Down
2 changes: 1 addition & 1 deletion phase/initialize_k0s.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1/cluster"
"github.com/k0sproject/k0sctl/pkg/node"
"github.com/k0sproject/k0sctl/pkg/retry"
"github.com/k0sproject/rig/exec"
"github.com/k0sproject/rig/v2/exec"
log "github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion phase/install_binaries.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1"
"github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1/cluster"
"github.com/k0sproject/rig/exec"
"github.com/k0sproject/rig/v2/exec"
"github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion phase/install_controllers.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1/cluster"
"github.com/k0sproject/k0sctl/pkg/node"
"github.com/k0sproject/k0sctl/pkg/retry"
"github.com/k0sproject/rig/exec"
"github.com/k0sproject/rig/v2/exec"
log "github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion phase/install_workers.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1/cluster"
"github.com/k0sproject/k0sctl/pkg/node"
"github.com/k0sproject/k0sctl/pkg/retry"
"github.com/k0sproject/rig/exec"
"github.com/k0sproject/rig/v2/exec"
log "github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion phase/lock.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1"
"github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1/cluster"
"github.com/k0sproject/k0sctl/pkg/retry"
"github.com/k0sproject/rig/exec"
"github.com/k0sproject/rig/v2/exec"
log "github.com/sirupsen/logrus"
)

Expand Down
4 changes: 2 additions & 2 deletions phase/prepare_hosts.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (

"github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1/cluster"
"github.com/k0sproject/k0sctl/pkg/retry"
"github.com/k0sproject/rig"
"github.com/k0sproject/rig/os"
"github.com/k0sproject/rig/v2"
"github.com/k0sproject/rig/v2/os"
"github.com/k0sproject/version"
log "github.com/sirupsen/logrus"
)
Expand Down
2 changes: 1 addition & 1 deletion phase/reset_controllers.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/k0sproject/k0sctl/pkg/apis/k0sctl.k0sproject.io/v1beta1/cluster"
"github.com/k0sproject/k0sctl/pkg/node"
"github.com/k0sproject/k0sctl/pkg/retry"
"github.com/k0sproject/rig/exec"
"github.com/k0sproject/rig/v2/exec"
log "github.com/sirupsen/logrus"
)

Expand Down
Loading

0 comments on commit 5ecb58f

Please sign in to comment.