Skip to content

Deleting contents of file fails to delete key-value in Consul #45

@spiritedsnowcat

Description

@spiritedsnowcat

Hey there!

I discovered an interesting bug where deleting the contents of a yml file in my project doesn't get picked up by gonsul. I guess there are zero bytes to send and Consul discards zero bytes. So maybe the fix would be detecting zero bytes and issuing a delete rather than an update?

Thanks,
Spirited

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions