Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ func SetCondition(c Conder, conditions *[]metav1.Condition) {
if !newCondition.LastTransitionTime.IsZero() &&
newCondition.LastTransitionTime.After(existingCondition.LastTransitionTime.Time) {
existingCondition.LastTransitionTime = newCondition.LastTransitionTime
} else {
existingCondition.LastTransitionTime = metav1.NewTime(time.Now())
}
}

Expand Down
1 change: 0 additions & 1 deletion tests/e2e/default_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ logFilter:
- "the server rejected our request due to an error in our request" # Err.
- "failed to sync powerstate" # Msg.
- "does not have a pvc reference" # "err": "kvvm head-345e7b6a-testcases-image-hotplug/head-345e7b6a-vm-image-hotplug spec volume vi-head-345e7b6a-vi-alpine-http does not have a pvc reference"
- "lastTransitionTime: Required value" # Err.
- "virtualmachineipaddressleases.virtualization.deckhouse.io "
- "Forbidden: no new finalizers can be added if the object is being deleted, found new finalizers"
- "Failed to watch" # error if virtualization-controller restarts during tests. "msg": "Failed to watch", "err": "Get \"http://127.0.0.1:23915/apis/virtualization.deckhouse.io/v1alpha2/virtualmachinerestores?allowWatchBookmarks=true\u0026resourceVersion=709816257\u0026timeoutSeconds=310\u0026watch=true\": context canceled"
Expand Down
Loading