1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-21 03:38:43 +00:00

Merge pull request from slashpai/follow-up-7038

fix: chore generate failure
This commit is contained in:
Jayapriya Pai 2025-02-01 16:58:35 +05:30 committed by GitHub
commit d2509e5884
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions
pkg/client/applyconfiguration/monitoring

View file

@ -839,7 +839,7 @@ func (b *PrometheusSpecApplyConfiguration) WithTSDB(value *TSDBSpecApplyConfigur
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the ScrapeFailureLogFile field is set to the value of the last call.
func (b *PrometheusSpecApplyConfiguration) WithScrapeFailureLogFile(value string) *PrometheusSpecApplyConfiguration {
b.ScrapeFailureLogFile = &value
b.CommonPrometheusFieldsApplyConfiguration.ScrapeFailureLogFile = &value
return b
}

View file

@ -828,7 +828,7 @@ func (b *PrometheusAgentSpecApplyConfiguration) WithTSDB(value *v1.TSDBSpecApply
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the ScrapeFailureLogFile field is set to the value of the last call.
func (b *PrometheusAgentSpecApplyConfiguration) WithScrapeFailureLogFile(value string) *PrometheusAgentSpecApplyConfiguration {
b.ScrapeFailureLogFile = &value
b.CommonPrometheusFieldsApplyConfiguration.ScrapeFailureLogFile = &value
return b
}