Skip to content

Commit

Permalink
Merge pull request #4438 from fengshunli/desc
Browse files Browse the repository at this point in the history
🌱 add better description to MarshalYAML and UnmarshalYAML methods
  • Loading branch information
k8s-ci-robot authored Dec 25, 2024
2 parents 49ad403 + 3dce03c commit 3e7c1d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/config/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ type Config interface {

/* Persistence */

// Marshal returns the YAML representation of the Config.
// MarshalYAML Marshal returns the YAML representation of the Config.
MarshalYAML() ([]byte, error)
// Unmarshal loads the Config fields from its YAML representation.
// UnmarshalYAML Unmarshal loads the Config fields from its YAML representation.
UnmarshalYAML([]byte) error
}

0 comments on commit 3e7c1d2

Please sign in to comment.