fixed comments
Signed-off-by: cdoern <cbdoer23@g.holycross.edu>
This commit is contained in:
parent
7bc84b8960
commit
8c89f85147
|
|
@ -23,6 +23,10 @@ type ImportOptions struct {
|
||||||
CommitMessage string
|
CommitMessage string
|
||||||
// Tag the imported image with this value.
|
// Tag the imported image with this value.
|
||||||
Tag string
|
Tag string
|
||||||
|
// Overwrite OS of imported image.
|
||||||
|
OS string
|
||||||
|
// Overwrite Arch of imported image.
|
||||||
|
Arch string
|
||||||
}
|
}
|
||||||
|
|
||||||
// Import imports a custom tarball at the specified path. Returns the name of
|
// Import imports a custom tarball at the specified path. Returns the name of
|
||||||
|
|
@ -48,8 +52,10 @@ func (r *Runtime) Import(ctx context.Context, path string, options *ImportOption
|
||||||
}
|
}
|
||||||
|
|
||||||
config := v1.Image{
|
config := v1.Image{
|
||||||
Config: ic,
|
Config: ic,
|
||||||
History: hist,
|
History: hist,
|
||||||
|
OS: options.OS,
|
||||||
|
Architecture: options.Arch,
|
||||||
}
|
}
|
||||||
|
|
||||||
u, err := url.ParseRequestURI(path)
|
u, err := url.ParseRequestURI(path)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue