File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package cmds
2
2
3
3
import (
4
4
"github.com/appscode/go/log"
5
- "github.com/appscode/kutil"
5
+ "github.com/appscode/kutil/meta "
6
6
"github.com/appscode/stash/client/typed/stash/v1alpha1"
7
7
"github.com/appscode/stash/pkg/recovery"
8
8
"github.com/spf13/cobra"
@@ -29,7 +29,7 @@ func NewCmdRecover() *cobra.Command {
29
29
c := recovery .New (
30
30
kubernetes .NewForConfigOrDie (config ),
31
31
v1alpha1 .NewForConfigOrDie (config ),
32
- kutil .Namespace (),
32
+ meta .Namespace (),
33
33
recoveryName ,
34
34
)
35
35
c .Run ()
Original file line number Diff line number Diff line change 6
6
"time"
7
7
8
8
"github.com/appscode/go/log"
9
- "github.com/appscode/kutil"
9
+ "github.com/appscode/kutil/meta "
10
10
api "github.com/appscode/stash/apis/stash/v1alpha1"
11
11
cs "github.com/appscode/stash/client/typed/stash/v1alpha1"
12
12
"github.com/appscode/stash/pkg/scheduler"
@@ -21,7 +21,7 @@ func NewCmdSchedule() *cobra.Command {
21
21
masterURL string
22
22
kubeconfigPath string
23
23
opt = scheduler.Options {
24
- Namespace : kutil .Namespace (),
24
+ Namespace : meta .Namespace (),
25
25
ResticName : "" ,
26
26
ScratchDir : "/tmp" ,
27
27
PushgatewayURL : "http://stash-operator.kube-system.svc:56789" ,
You can’t perform that action at this time.
0 commit comments