Skip to content

Commit 1177d60

Browse files
authored
Part 6 - Update docs (#121)
1 parent a15689d commit 1177d60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

schedule.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func NewCmdSchedule(version string) *cobra.Command {
9898
if err != nil {
9999
log.Fatalf(`Unknown ReplicationController %s@%s`, opt.AppName, opt.Namespace)
100100
}
101-
case "StatefulSets", "StatefulSet", "ss":
101+
case "StatefulSets", "StatefulSet":
102102
opt.AppKind = "StatefulSet"
103103
opt.SmartPrefix = opt.PodName
104104
_, err := kubeClient.AppsV1beta1().StatefulSets(opt.Namespace).Get(opt.AppName, metav1.GetOptions{})
@@ -137,7 +137,7 @@ func NewCmdSchedule(version string) *cobra.Command {
137137
cmd.Flags().StringVar(&masterURL, "master", masterURL, "The address of the Kubernetes API server (overrides any value in kubeconfig)")
138138
cmd.Flags().StringVar(&kubeconfigPath, "kubeconfig", kubeconfigPath, "Path to kubeconfig file with authorization information (the master location is set by the master flag).")
139139
cmd.Flags().StringVar(&workload, "workload", workload, `"Kind/Name" of workload where sidecar pod is added (eg, Deployment/apiserver)`)
140-
cmd.Flags().StringVar(&opt.ResticName, "restic-name", opt.ResticName, "Path to kubeconfig file with authorization information (the master location is set by the master flag).")
140+
cmd.Flags().StringVar(&opt.ResticName, "restic-name", opt.ResticName, "Name of the Restic used as configuration.")
141141
cmd.Flags().StringVar(&opt.ScratchDir, "scratch-dir", opt.ScratchDir, "Directory used to store temporary files. Use an `emptyDir` in Kubernetes.")
142142
cmd.Flags().StringVar(&opt.PushgatewayURL, "pushgateway-url", opt.PushgatewayURL, "URL of Prometheus pushgateway used to cache backup metrics")
143143

0 commit comments

Comments
 (0)