Skip to content

Commit

Permalink
Fix conversions
Browse files Browse the repository at this point in the history
  • Loading branch information
pepov committed Sep 22, 2021
1 parent 7ee52ed commit 72ff585
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/sdk/api/v1alpha1/logging_conversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ func (o *Logging) ConvertTo(dstRaw conversion.Hub) error {
Log.Info("ConvertTo", "source", o.TypeMeta, "destination", dst.TypeMeta)

dst.ObjectMeta = o.ObjectMeta
dst.Spec = o.Spec
dst.Status = o.Status

return nil
}
Expand All @@ -37,8 +35,6 @@ func (o *Logging) ConvertFrom(srcRaw conversion.Hub) error {
Log.Info("ConvertFrom", "source", src.TypeMeta, "destination", o.TypeMeta)

o.ObjectMeta = src.ObjectMeta
o.Spec = src.Spec
o.Status = src.Status

return nil
}

0 comments on commit 72ff585

Please sign in to comment.