mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-03 23:04:53 -04:00
use any instead of interface{} (#1354)
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
fede4ec6d2
commit
64fc43f276
2 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ func (p *Provider) UnmarshalJSON(b []byte) error {
|
|||
}
|
||||
|
||||
// MarshalYAML marshals the Provider to YAML string.
|
||||
func (p Provider) MarshalYAML() (interface{}, error) {
|
||||
func (p Provider) MarshalYAML() (any, error) {
|
||||
return p.String(), nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue