Skip to content

Commit 35227cd

Browse files
committed
Format smoke command
1 parent 02ba487 commit 35227cd

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

cmd/meshexec/smoke.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ var (
2929

3030
var smokeCmd = &cobra.Command{
3131
Use: "smoke",
32-
Short: "Run a local end-to-end smoke test",
32+
Short: "Run a local end-to-end smoke test",
3333
Hidden: true,
3434
Run: func(cmd *cobra.Command, args []string) {
3535
// Configure logging
@@ -51,9 +51,9 @@ var smokeCmd = &cobra.Command{
5151
os.Exit(1)
5252
}
5353

54-
_ = runtime.GOOS // no BLE implementation needed
54+
_ = runtime.GOOS // no BLE implementation needed
5555

56-
// Build mesh node (local-only)
56+
// Build mesh node (local-only)
5757
node, err := mesh.NewNodeFromConfig(cfg)
5858
if err != nil {
5959
fmt.Fprintf(os.Stderr, "failed to create mesh node: %v\n", err)
@@ -89,7 +89,7 @@ var smokeCmd = &cobra.Command{
8989
resCh := node.Subscribe(core.MessageTypeResult)
9090

9191
// Create and send the command message
92-
mh := messages.NewMessageHandlerWithLevel(logLevel)
92+
mh := messages.NewMessageHandlerWithLevel(logLevel)
9393
if smokeTarget == "" {
9494
smokeTarget = "all"
9595
}
@@ -154,7 +154,7 @@ func init() {
154154
smokeCmd.Flags().StringVar(&smokeCmdString, "command", "echo smoke", "command to execute on this node during the smoke test")
155155
smokeCmd.Flags().StringVar(&smokeTarget, "target", "all", "target expression for the smoke test")
156156
smokeCmd.Flags().IntVar(&smokeTimeoutMs, "timeout", 5000, "timeout in milliseconds to wait for a result")
157-
// removed BLE impl hint
157+
// removed BLE impl hint
158158

159159
rootCmd.AddCommand(smokeCmd)
160160
}

0 commit comments

Comments
 (0)