Skip to content

Commit

Permalink
Comment out unused variables
Browse files Browse the repository at this point in the history
This fixes `make lint`

Signed-off-by: Christophe Fergeau <[email protected]>
  • Loading branch information
cfergeau committed Feb 25, 2025
1 parent 7c5eddb commit 3694a7d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions cmd/macadam/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ var (
ValidArgsFunction: completion.AutocompleteNone,
}

initOpts = define.InitOptions{}
initOptionalFlags = InitOptionalFlags{}
initOpts = define.InitOptions{}
// initOptionalFlags = InitOptionalFlags{}
defaultMachineName = "macadam"
now bool
sshIdentityPath string
username string
// now bool
sshIdentityPath string
username string
)

// Flags which have a meaning when unspecified that differs from the flag default
Expand Down
14 changes: 7 additions & 7 deletions cmd/macadam/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,18 @@ var (
DisableFlagsInUseLine: true,
}

defaultLogLevel = "warn"
logLevel = defaultLogLevel
dockerConfig = ""
debug bool
// defaultLogLevel = "warn"
// logLevel = defaultLogLevel
// dockerConfig = ""
// debug bool

requireCleanup = true
// requireCleanup = true

// Defaults for capturing/redirecting the command output since (the) cobra is
// global-hungry and doesn't allow you to attach anything that allows us to
// transform the noStdout BoolVar to a string that we can assign to useStdout.
noStdout = false
useStdout = ""
// noStdout = false
// useStdout = ""
)

func init() {
Expand Down

0 comments on commit 3694a7d

Please sign in to comment.