Skip to content

Commit

Permalink
chore: flatten duration to actual duration-value (#793) (#804)
Browse files Browse the repository at this point in the history
Closes #766

Co-authored-by: Charles-Edouard Brétéché <[email protected]>

Co-authored-by: Joakim Olsson <[email protected]>
Co-authored-by: Charles-Edouard Brétéché <[email protected]>
  • Loading branch information
3 people authored Nov 3, 2022
1 parent ffac48c commit c2d905b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/schemas/zzz_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func ExpandDuration(in interface{}) metav1.Duration {
}

func FlattenDuration(in metav1.Duration) interface{} {
return in.String()
return in.Duration.String()
}

// IntOrString
Expand Down

0 comments on commit c2d905b

Please sign in to comment.