Skip to content

Commit ae40f35

Browse files
authored
Revendor kutil (#230)
1 parent d68a34d commit ae40f35

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

recover.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package cmds
22

33
import (
44
"github.com/appscode/go/log"
5-
"github.com/appscode/kutil"
5+
"github.com/appscode/kutil/meta"
66
"github.com/appscode/stash/client/typed/stash/v1alpha1"
77
"github.com/appscode/stash/pkg/recovery"
88
"github.com/spf13/cobra"
@@ -29,7 +29,7 @@ func NewCmdRecover() *cobra.Command {
2929
c := recovery.New(
3030
kubernetes.NewForConfigOrDie(config),
3131
v1alpha1.NewForConfigOrDie(config),
32-
kutil.Namespace(),
32+
meta.Namespace(),
3333
recoveryName,
3434
)
3535
c.Run()

schedule.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"time"
77

88
"github.com/appscode/go/log"
9-
"github.com/appscode/kutil"
9+
"github.com/appscode/kutil/meta"
1010
api "github.com/appscode/stash/apis/stash/v1alpha1"
1111
cs "github.com/appscode/stash/client/typed/stash/v1alpha1"
1212
"github.com/appscode/stash/pkg/scheduler"
@@ -21,7 +21,7 @@ func NewCmdSchedule() *cobra.Command {
2121
masterURL string
2222
kubeconfigPath string
2323
opt = scheduler.Options{
24-
Namespace: kutil.Namespace(),
24+
Namespace: meta.Namespace(),
2525
ResticName: "",
2626
ScratchDir: "/tmp",
2727
PushgatewayURL: "http://stash-operator.kube-system.svc:56789",

0 commit comments

Comments
 (0)