Skip to content

Commit b78a05a

Browse files
authored
Merge pull request #4440 from AkihiroSuda/fix-pkg-fs
mv pkg/fs.go pkg/fs/fs.go
2 parents 5ab6227 + bd6b61a commit b78a05a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmd/nerdctl/helpers/flagutil.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ import (
2121

2222
"github.com/spf13/cobra"
2323

24-
"github.com/containerd/nerdctl/v2/pkg"
2524
"github.com/containerd/nerdctl/v2/pkg/api/types"
25+
"github.com/containerd/nerdctl/v2/pkg/fs"
2626
)
2727

2828
func VerifyOptions(cmd *cobra.Command) (opt types.ImageVerifyOptions, err error) {
@@ -159,7 +159,7 @@ func ProcessRootCmdFlags(cmd *cobra.Command) (types.GlobalCommandOptions, error)
159159
}
160160

161161
// Point to dataRoot for filesystem-helpers implementing rollback / backups.
162-
err = pkg.InitFS(dataRoot)
162+
err = fs.InitFS(dataRoot)
163163
if err != nil {
164164
return types.GlobalCommandOptions{}, err
165165
}

pkg/fs.go renamed to pkg/fs/fs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
limitations under the License.
1515
*/
1616

17-
package pkg
17+
package fs
1818

1919
import "github.com/containerd/nerdctl/v2/pkg/internal/filesystem"
2020

0 commit comments

Comments
 (0)