Skip to content

Commit a39d704

Browse files
committed
trivial: remove unused parameter from helper
Signed-off-by: Anders F Björklund <[email protected]>
1 parent ac857e2 commit a39d704

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/cidata/cidata.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ func setupEnv(instConfigEnv map[string]string, propagateProxyEnv bool, slirpGate
111111
return env, nil
112112
}
113113

114-
func templateArgs(instDir, name string, instConfig *limayaml.LimaYAML, udpDNSLocalPort, tcpDNSLocalPort int, nerdctlArchive string, vsockPort int, virtioPort string) (*TemplateArgs, error) {
114+
func templateArgs(instDir, name string, instConfig *limayaml.LimaYAML, udpDNSLocalPort, tcpDNSLocalPort, vsockPort int, virtioPort string) (*TemplateArgs, error) {
115115
if err := limayaml.Validate(instConfig, false); err != nil {
116116
return nil, err
117117
}
@@ -323,7 +323,7 @@ func templateArgs(instDir, name string, instConfig *limayaml.LimaYAML, udpDNSLoc
323323
}
324324

325325
func GenerateISO9660(instDir, name string, instConfig *limayaml.LimaYAML, udpDNSLocalPort, tcpDNSLocalPort int, nerdctlArchive string, vsockPort int, virtioPort string) error {
326-
args, err := templateArgs(instDir, name, instConfig, udpDNSLocalPort, tcpDNSLocalPort, nerdctlArchive, vsockPort, virtioPort)
326+
args, err := templateArgs(instDir, name, instConfig, udpDNSLocalPort, tcpDNSLocalPort, vsockPort, virtioPort)
327327
if err != nil {
328328
return err
329329
}

0 commit comments

Comments
 (0)