Skip to content

Commit

Permalink
Rename to ObservedCompositionGeneration
Browse files Browse the repository at this point in the history
  • Loading branch information
jveski committed Nov 17, 2023
1 parent f4f2aa3 commit 12ababd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
5 changes: 1 addition & 4 deletions api/v1/composition.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,7 @@ type CompositionStatus struct {

// Synthesis represents a Synthesizer's specific synthesis of a given Composition.
type Synthesis struct {
// metadata.generation of the Composition at the time of synthesis.
ObservedGeneration int64 `json:"observedGeneration,omitempty"`

// metadata.generation of the Synthesizer at the time of synthesis.
ObservedCompositionGeneration int64 `json:"observedCompositionGeneration,omitempty"`
ObservedSynthesizerGeneration int64 `json:"observedSynthesizerGeneration,omitempty"`

// Number of resulting resource slices. Since they are immutable, this provides adequate timing signal to avoid stale informer caches.
Expand Down
12 changes: 2 additions & 10 deletions api/v1/config/crd/eno.azure.io_compositions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,10 @@ spec:
description: Synthesis represents a Synthesizer's specific synthesis
of a given Composition.
properties:
observedGeneration:
description: metadata.generation of the Composition at the time
of synthesis.
observedCompositionGeneration:
format: int64
type: integer
observedSynthesizerGeneration:
description: metadata.generation of the Synthesizer at the time
of synthesis.
format: int64
type: integer
podCreation:
Expand All @@ -104,14 +100,10 @@ spec:
description: Synthesis represents a Synthesizer's specific synthesis
of a given Composition.
properties:
observedGeneration:
description: metadata.generation of the Composition at the time
of synthesis.
observedCompositionGeneration:
format: int64
type: integer
observedSynthesizerGeneration:
description: metadata.generation of the Synthesizer at the time
of synthesis.
format: int64
type: integer
podCreation:
Expand Down

0 comments on commit 12ababd

Please sign in to comment.