Revert some caps changes

Use in templates means these were an accidental interface change.

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
This commit is contained in:
Jonathon Anderson
2023-04-14 19:40:54 -06:00
parent 82520c0de0
commit e2e3a90623
4 changed files with 9 additions and 9 deletions

View File

@@ -12,7 +12,7 @@ import (
func TFTP() error {
controller := warewulfconf.Get()
var tftpdir string = path.Join(controller.Paths.TFTPdir, "warewulf")
var tftpdir string = path.Join(controller.Paths.Tftpdir, "warewulf")
err := os.MkdirAll(tftpdir, 0755)
if err != nil {
@@ -22,7 +22,7 @@ func TFTP() error {
fmt.Printf("Writing PXE files to: %s\n", tftpdir)
copyCheck := make(map[string]bool)
for _, f := range controller.TFTP.IPXEBinaries {
for _, f := range controller.TFTP.IpxeBinaries {
if copyCheck[f] {
continue
}