Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Re-enable check for nil hash in unit state publisher #989

@bcwaldon

Description

@bcwaldon

There existed checks for nil unit hashes in agent.UnitStatePublisher.publishOne and registry.UnitStateToModel, but given that units could enter the system without populated hashes, the checks were disabled: 11949e0. As of 7a1015a, the hashes should now always be populated, so the corresponding assertions should be reenabled.

If these checks prove to be not useful, they should be removed altogether.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions