mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 10:20:51 +00:00
Modify annotation syntax errors
This commit is contained in:
parent
0348821c9f
commit
2a2d33b2b1
@ -145,7 +145,7 @@ func doReadWriteReadOnlyTest(f *framework.Framework, source v1.VolumeSource, vol
|
|||||||
_, stderr, _ := f.ExecCommandInContainerWithFullOutput(podName, containerName, writecmd...)
|
_, stderr, _ := f.ExecCommandInContainerWithFullOutput(podName, containerName, writecmd...)
|
||||||
framework.ExpectEqual(stderr, "Access is denied.")
|
framework.ExpectEqual(stderr, "Access is denied.")
|
||||||
|
|
||||||
ginkgo.By("verifying that pod can read from the the volume that is readonly")
|
ginkgo.By("verifying that pod can read from a volume that is readonly")
|
||||||
readcmd := []string{"cmd", "/c", "type", filePath}
|
readcmd := []string{"cmd", "/c", "type", filePath}
|
||||||
readout, readerr, err := f.ExecCommandInContainerWithFullOutput(podName, containerName, readcmd...)
|
readout, readerr, err := f.ExecCommandInContainerWithFullOutput(podName, containerName, readcmd...)
|
||||||
readmsg := fmt.Sprintf("cmd: %v, stdout: %q, stderr: %q", readcmd, readout, readerr)
|
readmsg := fmt.Sprintf("cmd: %v, stdout: %q, stderr: %q", readcmd, readout, readerr)
|
||||||
|
Loading…
Reference in New Issue
Block a user