Skip to content

Type issue "#[instrument(skil(self))]" #150

@JoshuaChi

Description

@JoshuaChi

⚠️ Potential issue | 🔴 Critical

Fix tracing attribute typo to prevent compile error

Use skip, not skil.

Apply this patch:

-    #[instrument(skil(self))]
+    #[instrument(skip(self))]
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

    #[instrument(skip(self))]
🤖 Prompt for AI Agents
In examples/sled-cluster/src/sled_state_machine.rs around line 435, the
#[instrument(skil(self))] attribute contains a typo; change skil to skip so it
reads #[instrument(skip(self))] to prevent the tracing macro compile error;
update the attribute accordingly and run a quick cargo build to verify the fix.

Originally posted by @coderabbitai[bot] in #149 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions