Skip to content

Commit

Permalink
address feedback on OLM condition documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
frankyn committed Aug 24, 2022
1 parent bca3ea1 commit d36b741
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions storage/bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -633,12 +633,12 @@ type LifecycleCondition struct {

// DaysSinceCustomTime is the days elapsed since the CustomTime date of the
// object. This condition can only be satisfied if CustomTime has been set.
// Note: Using `0` as the value will not be ignored by the library and not sent to the API.
// Note: Using `0` as the value will be ignored by the library and not sent to the API.
DaysSinceCustomTime int64

// DaysSinceNoncurrentTime is the days elapsed since the noncurrent timestamp
// of the object. This condition is relevant only for versioned objects.
// Note: Using `0` as the value will not be ignored by the library and not sent to the API.
// Note: Using `0` as the value will be ignored by the library and not sent to the API.
DaysSinceNoncurrentTime int64

// Liveness specifies the object's liveness. Relevant only for versioned objects
Expand Down Expand Up @@ -670,6 +670,7 @@ type LifecycleCondition struct {
// If the value is N, this condition is satisfied when there are at least N
// versions (including the live version) newer than this version of the
// object.
// Note: Using `0` as the value will be ignored by the library and not sent to the API.
NumNewerVersions int64
}

Expand Down

0 comments on commit d36b741

Please sign in to comment.