fix: align struct fields

This commit is contained in:
Valentin Maerten
2026-02-01 16:55:22 +01:00
parent 31f297bd8c
commit 54d6dcba5f

View File

@@ -10,7 +10,7 @@ import (
// Cmd is a task command
type Cmd struct {
Cmd string // Resolved command (used for execution and fingerprinting)
LogCmd string // Command with secrets masked (used for logging)
LogCmd string // Command with secrets masked (used for logging)
Task string
For *For
If string
@@ -29,7 +29,7 @@ func (c *Cmd) DeepCopy() *Cmd {
}
return &Cmd{
Cmd: c.Cmd,
LogCmd: c.LogCmd,
LogCmd: c.LogCmd,
Task: c.Task,
For: c.For.DeepCopy(),
If: c.If,