Change the data type from string to *int in cacheSizeSettings field of repositoryserver CRD
kale-amruta opened this issue · 1 comments
Is your feature request related to a problem? Please describe.
// CacheSizeSettings are the metadata/content cache size details
// that can be used while establishing connection to the kopia repository
type CacheSizeSettings struct {
Metadata string `json:"metadata"`
Content string `json:"content"`
}
Currently the Metadata
and Content
fields in CacheSizeSettings
have string as a data type whereas kopia CLI accepts the values for these fields as integer.
Describe the solution you'd like
It would be better if the CRD accepts the fields in Integer
format since that would reduce the number of conversions required in the GO code
Thanks for opening this issue 👍. The team will review it shortly.
If this is a bug report, make sure to include clear instructions how on to reproduce the problem with minimal reproducible examples, where possible. If this is a security report, please review our security policy as outlined in SECURITY.md.
If you haven't already, please take a moment to review our project's Code of Conduct document.