use any instead of interface{} (#1354)

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2023-03-08 04:31:20 -05:00 committed by GitHub
parent fede4ec6d2
commit 64fc43f276
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -458,7 +458,7 @@ func (i *ChartLoader) loadConstellationServicesValues() (map[string]any, error)
}
case cloudprovider.QEMU:
values["tags"] = map[string]interface{}{
values["tags"] = map[string]any{
"QEMU": true,
}

View File

@ -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
}