Skip to content

Commit

Permalink
api: keep nil Mount options intact.
Browse files Browse the repository at this point in the history
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
  • Loading branch information
klihub committed Feb 23, 2023
1 parent f6a7cac commit 6a62d49
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/api/mount.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ func (m *Mount) ToOCI(propagationQuery *string) rspec.Mount {
Destination: m.Destination,
Type: m.Type,
Source: m.Source,
Options: []string{},
}
for _, opt := range m.Options {
o.Options = append(o.Options, opt)
Expand Down

0 comments on commit 6a62d49

Please sign in to comment.