Skip to content

Commit

Permalink
Merge branch 'CrunchyData:main' into improve-logging
Browse files Browse the repository at this point in the history
  • Loading branch information
philrhurst authored Dec 6, 2024
2 parents e54d7ea + b4a2ca9 commit 8e5e111
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ func (cfg *PatchConfig) AddFlags(flags *pflag.FlagSet) {
}

// CreateOptions returns a copy of opts with fields set according to cfg.
func (cfg PatchConfig) CreateOptions(opts metav1.CreateOptions) metav1.CreateOptions {
func (cfg *PatchConfig) CreateOptions(opts metav1.CreateOptions) metav1.CreateOptions {
opts.FieldManager = cfg.FieldManager
return opts
}

// PatchOptions returns a copy of opts with fields set according to cfg.
func (cfg PatchConfig) PatchOptions(opts metav1.PatchOptions) metav1.PatchOptions {
func (cfg *PatchConfig) PatchOptions(opts metav1.PatchOptions) metav1.PatchOptions {
opts.FieldManager = cfg.FieldManager
return opts
}

0 comments on commit 8e5e111

Please sign in to comment.