mirror of https://github.com/containers/podman.git
codespell code
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
72e87c0ca8
commit
8600bce53a
|
@ -251,7 +251,7 @@ spelled with complete minutiae.
|
||||||
binaries under the "binary", then "bin" links. Tar these files as
|
binaries under the "binary", then "bin" links. Tar these files as
|
||||||
`podman-static.tar.gz`.
|
`podman-static.tar.gz`.
|
||||||
1. The `podman-vX.Y.Z.dmg` file is produced manually by someone in
|
1. The `podman-vX.Y.Z.dmg` file is produced manually by someone in
|
||||||
posession of a developer signing key.
|
possession of a developer signing key.
|
||||||
1. In the directory where you downloaded the archives, run
|
1. In the directory where you downloaded the archives, run
|
||||||
`sha256sum *.tar.gz *.zip *.msi > shasums` to generate SHA sums.
|
`sha256sum *.tar.gz *.zip *.msi > shasums` to generate SHA sums.
|
||||||
1. Go to `https://github.com/containers/podman/releases/tag/vX.Y.Z` and
|
1. Go to `https://github.com/containers/podman/releases/tag/vX.Y.Z` and
|
||||||
|
|
|
@ -132,7 +132,7 @@ func create(cmd *cobra.Command, args []string) error {
|
||||||
}
|
}
|
||||||
createOptions.Share = nil
|
createOptions.Share = nil
|
||||||
} else {
|
} else {
|
||||||
// reassign certain optios for lbpod api, these need to be populated in spec
|
// reassign certain options for lbpod api, these need to be populated in spec
|
||||||
flags := cmd.Flags()
|
flags := cmd.Flags()
|
||||||
infraOptions.Net, err = common.NetFlagsToNetOptions(nil, *flags, false)
|
infraOptions.Net, err = common.NetFlagsToNetOptions(nil, *flags, false)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
@ -15,7 +15,7 @@ Note: Long running command of `podman pod log` with a `-f` or `--follow` needs t
|
||||||
|
|
||||||
#### **--container**, **-c**
|
#### **--container**, **-c**
|
||||||
|
|
||||||
By default `podman pod logs` retrives logs for all the containers available within the pod differentiate by field `container`. However there are use-cases where user would want to limit the log stream only to a particular container of a pod for such cases `-c` can be used like `podman pod logs -c ctrNameorID podname`.
|
By default `podman pod logs` retrieves logs for all the containers available within the pod differentiate by field `container`. However there are use-cases where user would want to limit the log stream only to a particular container of a pod for such cases `-c` can be used like `podman pod logs -c ctrNameorID podname`.
|
||||||
|
|
||||||
#### **--follow**, **-f**
|
#### **--follow**, **-f**
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ Print usage statement
|
||||||
## EXAMPLES
|
## EXAMPLES
|
||||||
|
|
||||||
```
|
```
|
||||||
$ gunzip -c hellow.tar.gz | podman volume import myvol -
|
$ gunzip -c hello.tar.gz | podman volume import myvol -
|
||||||
```
|
```
|
||||||
```
|
```
|
||||||
$ podman volume import myvol test.tar
|
$ podman volume import myvol test.tar
|
||||||
|
|
|
@ -2016,7 +2016,7 @@ func (c *Container) generateHosts(path string) (string, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// based on networking mode we may want to append the localhost
|
// based on networking mode we may want to append the localhost
|
||||||
// if there isn't any record for it and also this shoud happen
|
// if there isn't any record for it and also this should happen
|
||||||
// in slirp4netns and similar network modes.
|
// in slirp4netns and similar network modes.
|
||||||
func (c *Container) appendLocalhost(hosts string) string {
|
func (c *Container) appendLocalhost(hosts string) string {
|
||||||
if !strings.Contains(hosts, "localhost") &&
|
if !strings.Contains(hosts, "localhost") &&
|
||||||
|
|
|
@ -1313,7 +1313,7 @@ var _ = Describe("Config", func() {
|
||||||
Expect(networks).To(HaveLen(0))
|
Expect(networks).To(HaveLen(0))
|
||||||
})
|
})
|
||||||
|
|
||||||
It("crate bridge network with used interface name", func() {
|
It("create bridge network with used interface name", func() {
|
||||||
network := types.Network{
|
network := types.Network{
|
||||||
NetworkInterface: "cni-podman9",
|
NetworkInterface: "cni-podman9",
|
||||||
}
|
}
|
||||||
|
|
|
@ -137,7 +137,7 @@ type NetInterface struct {
|
||||||
MacAddress net.HardwareAddr `json:"mac_address"`
|
MacAddress net.HardwareAddr `json:"mac_address"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// NetAddress contains the subnet and gatway.
|
// NetAddress contains the subnet and gateway.
|
||||||
type NetAddress struct {
|
type NetAddress struct {
|
||||||
// Subnet of this NetAddress. Note that the subnet contains the
|
// Subnet of this NetAddress. Note that the subnet contains the
|
||||||
// actual ip of the net interface and not the network address.
|
// actual ip of the net interface and not the network address.
|
||||||
|
|
|
@ -390,7 +390,7 @@ func (p *Pod) InfraContainerID() (string, error) {
|
||||||
return p.infraContainerID()
|
return p.infraContainerID()
|
||||||
}
|
}
|
||||||
|
|
||||||
// infraContainer is the unlocked versio of InfraContainer which returns the infra container
|
// infraContainer is the unlocked version of InfraContainer which returns the infra container
|
||||||
func (p *Pod) infraContainer() (*Container, error) {
|
func (p *Pod) infraContainer() (*Container, error) {
|
||||||
id, err := p.infraContainerID()
|
id, err := p.infraContainerID()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
@ -445,7 +445,7 @@ var _ = Describe("Podman run", func() {
|
||||||
Expect(session.ErrorToString()).To(ContainSubstring("invalid image_copy_tmp_dir"))
|
Expect(session.ErrorToString()).To(ContainSubstring("invalid image_copy_tmp_dir"))
|
||||||
})
|
})
|
||||||
|
|
||||||
It("podman system sevice --help shows (default 20)", func() {
|
It("podman system service --help shows (default 20)", func() {
|
||||||
SkipIfRemote("this test is only for local")
|
SkipIfRemote("this test is only for local")
|
||||||
result := podmanTest.Podman([]string{"system", "service", "--help"})
|
result := podmanTest.Podman([]string{"system", "service", "--help"})
|
||||||
result.WaitWithDefaultTimeout()
|
result.WaitWithDefaultTimeout()
|
||||||
|
|
|
@ -153,7 +153,7 @@ function service_cleanup() {
|
||||||
cname3=$(random_string)
|
cname3=$(random_string)
|
||||||
run_podman create --restart=on-failure:42 --name $cname3 $IMAGE
|
run_podman create --restart=on-failure:42 --name $cname3 $IMAGE
|
||||||
run_podman generate systemd --new $cname3
|
run_podman generate systemd --new $cname3
|
||||||
is "$output" ".*Restart=on-failure.*" "on-failure:xx is parsed correclty"
|
is "$output" ".*Restart=on-failure.*" "on-failure:xx is parsed correctly"
|
||||||
is "$output" ".*StartLimitBurst=42.*" "on-failure:xx is parsed correctly"
|
is "$output" ".*StartLimitBurst=42.*" "on-failure:xx is parsed correctly"
|
||||||
|
|
||||||
run_podman rm -t 0 -f $cname $cname2 $cname3
|
run_podman rm -t 0 -f $cname $cname2 $cname3
|
||||||
|
|
Loading…
Reference in New Issue