diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-03-17 21:45:08 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-03-17 21:45:08 +0900 |
| commit | d7eddd54a2d5712a29f3fe283b1d8a099ff7f6bf (patch) | |
| tree | d4acf6d5f8ec59e4cf99aaf9cea133fb193dc9e8 /sandbox/init.go | |
| parent | 7c063833e01930b4b298a59363b783ab32cc0e41 (diff) | |
sandbox: rename params struct
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'sandbox/init.go')
| -rw-r--r-- | sandbox/init.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sandbox/init.go b/sandbox/init.go index 9d1c349f..5ebac810 100644 --- a/sandbox/init.go +++ b/sandbox/init.go @@ -28,7 +28,7 @@ const ( ) type initParams struct { - InitParams + Params HostUid, HostGid int // extra files count @@ -148,7 +148,7 @@ func Init(prepare func(prefix string), setVerbose func(verbose bool)) { } msg.Verbosef("%s %s", op.prefix(), op) - if err := op.apply(¶ms.InitParams); err != nil { + if err := op.apply(¶ms.Params); err != nil { msg.PrintBaseErr(err, fmt.Sprintf("cannot apply op %d:", i)) msg.BeforeExit() |
