Skip to content

Commit 414d0e8

Browse files
author
Mrunal Patel
authored
Merge pull request opencontainers#258 from Mashimiao/generate-specified-typo-fix
[Master] generate/generate: Fix "specifed" -> "specified" typo
2 parents 49919f3 + d664f93 commit 414d0e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generate/generate.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ func NewFromSpec(spec *rspec.Spec) Generator {
158158
}
159159
}
160160

161-
// NewFromFile loads the template specifed in a file into a spec Generator.
161+
// NewFromFile loads the template specified in a file into a spec Generator.
162162
func NewFromFile(path string) (Generator, error) {
163163
cf, err := os.Open(path)
164164
if err != nil {
@@ -661,7 +661,7 @@ func (g *Generator) AddBindMount(source, dest string, options []string) {
661661
g.spec.Mounts = append(g.spec.Mounts, mnt)
662662
}
663663

664-
// SetupPrivileged sets up the priviledge-related fields inside g.spec.
664+
// SetupPrivileged sets up the privilege-related fields inside g.spec.
665665
func (g *Generator) SetupPrivileged(privileged bool) {
666666
if privileged {
667667
// Add all capabilities in privileged mode.

0 commit comments

Comments
 (0)