Skip to content

Resource type and name information is omitted when there is one change in dyff output format #728

@okozachenko1203

Description

@okozachenko1203

What is the problem

This is when there are more than 2 changes in output.

spec.template.metadata.annotations.configmap-bin-hash  (Job/default/heat-trusts)
  ± value change
    - 32060d531f7cfd8f51e604da6233d6ced99f319f5fbce808b84018d8f78f25b2
    + 316714221b6260989a1abc92f38c549dae4938ea637f65c61ead25d75b643e7a

spec.template.metadata.annotations.configmap-etc-hash  (Job/default/heat-trusts)
  ± value change
    - dfec60a281742bcf3f7c2c7dcfc023d22bee85e511b51b0c658a5936699fc8e1
    + 1ca7d7c0e5167cb2dfcc3abc4bf0e4abdd9ed543c05202240f9351995820be40

This is when there is only one change.

spec.template.metadata.annotations.configmap-bin-hash
  ± value change
    - 32060d531f7cfd8f51e604da6233d6ced99f319f5fbce808b84018d8f78f25b2
    + 316714221b6260989a1abc92f38c549dae4938ea637f65c61ead25d75b643e7a

Expectation

It should include the resource name and type information like this.

spec.template.metadata.annotations.configmap-bin-hash  (Job/default/heat-trusts)
  ± value change
    - 32060d531f7cfd8f51e604da6233d6ced99f319f5fbce808b84018d8f78f25b2
    + 316714221b6260989a1abc92f38c549dae4938ea637f65c61ead25d75b643e7a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions