Skip to content

Commit 796a323

Browse files
author
OpenShift Bot
authored
Merge pull request #13015 from soltysh/tag_typo
Merged by openshift-bot
2 parents 3ef5377 + 8dd4472 commit 796a323

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

docs/generated/oc_by_example_content.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -2948,7 +2948,7 @@ Tag existing images into image streams
29482948
# Tag an external Docker image.
29492949
oc tag --source=docker openshift/origin:latest yourproject/ruby:tip
29502950
2951-
# Tag an external Docker image and request pull-trough for it.
2951+
# Tag an external Docker image and request pullthrough for it.
29522952
oc tag --source=docker openshift/origin:latest yourproject/ruby:tip --reference-policy=local
29532953
29542954

docs/man/man1/oc-tag.1

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Pass the \-\-insecure flag if your external registry does not have a valid HTTPS
4141

4242
.PP
4343
\fB\-\-reference\-policy\fP="source"
44-
Allow to request pull\-trough for external image when set to 'local'. Defaults to 'source'.
44+
Allow to request pullthrough for external image when set to 'local'. Defaults to 'source'.
4545

4646
.PP
4747
\fB\-\-scheduled\fP=false
@@ -140,7 +140,7 @@ Pass the \-\-insecure flag if your external registry does not have a valid HTTPS
140140
# Tag an external Docker image.
141141
oc tag \-\-source=docker openshift/origin:latest yourproject/ruby:tip
142142

143-
# Tag an external Docker image and request pull\-trough for it.
143+
# Tag an external Docker image and request pullthrough for it.
144144
oc tag \-\-source=docker openshift/origin:latest yourproject/ruby:tip \-\-reference\-policy=local
145145

146146

docs/man/man1/openshift-cli-tag.1

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Pass the \-\-insecure flag if your external registry does not have a valid HTTPS
4141

4242
.PP
4343
\fB\-\-reference\-policy\fP="source"
44-
Allow to request pull\-trough for external image when set to 'local'. Defaults to 'source'.
44+
Allow to request pullthrough for external image when set to 'local'. Defaults to 'source'.
4545

4646
.PP
4747
\fB\-\-scheduled\fP=false
@@ -140,7 +140,7 @@ Pass the \-\-insecure flag if your external registry does not have a valid HTTPS
140140
# Tag an external Docker image.
141141
openshift cli tag \-\-source=docker openshift/origin:latest yourproject/ruby:tip
142142

143-
# Tag an external Docker image and request pull\-trough for it.
143+
# Tag an external Docker image and request pullthrough for it.
144144
openshift cli tag \-\-source=docker openshift/origin:latest yourproject/ruby:tip \-\-reference\-policy=local
145145

146146

pkg/cmd/cli/cmd/tag.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ var (
6767
# Tag an external Docker image.
6868
%[1]s tag --source=docker openshift/origin:latest yourproject/ruby:tip
6969
70-
# Tag an external Docker image and request pull-trough for it.
70+
# Tag an external Docker image and request pullthrough for it.
7171
%[1]s tag --source=docker openshift/origin:latest yourproject/ruby:tip --reference-policy=local
7272
7373
@@ -102,7 +102,7 @@ func NewCmdTag(fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Comm
102102
cmd.Flags().BoolVar(&opts.referenceTag, "reference", false, "Should the destination tag continue to pull from the source namespace. Defaults to false.")
103103
cmd.Flags().BoolVar(&opts.scheduleTag, "scheduled", false, "Set a Docker image to be periodically imported from a remote repository. Defaults to false.")
104104
cmd.Flags().BoolVar(&opts.insecureTag, "insecure", false, "Set to true if importing the specified Docker image requires HTTP or has a self-signed certificate. Defaults to false.")
105-
cmd.Flags().StringVar(&opts.referencePolicy, "reference-policy", sourceReferencePolicy, "Allow to request pull-trough for external image when set to 'local'. Defaults to 'source'.")
105+
cmd.Flags().StringVar(&opts.referencePolicy, "reference-policy", sourceReferencePolicy, "Allow to request pullthrough for external image when set to 'local'. Defaults to 'source'.")
106106

107107
return cmd
108108
}

0 commit comments

Comments
 (0)