mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -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
@ -458,7 +458,7 @@ func (i *ChartLoader) loadConstellationServicesValues() (map[string]any, error)
|
|||||||
}
|
}
|
||||||
|
|
||||||
case cloudprovider.QEMU:
|
case cloudprovider.QEMU:
|
||||||
values["tags"] = map[string]interface{}{
|
values["tags"] = map[string]any{
|
||||||
"QEMU": true,
|
"QEMU": true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ func (p *Provider) UnmarshalJSON(b []byte) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// MarshalYAML marshals the Provider to YAML string.
|
// MarshalYAML marshals the Provider to YAML string.
|
||||||
func (p Provider) MarshalYAML() (interface{}, error) {
|
func (p Provider) MarshalYAML() (any, error) {
|
||||||
return p.String(), nil
|
return p.String(), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user