in internal/settings/settings_linux.go [73:81]
func unmarshalHandlerSettings(publicSettings, protectedSettings map[string]interface{}, publicV, protectedV interface{}) error {
if err := unmarshalSettings(publicSettings, &publicV); err != nil {
return fmt.Errorf("failed to unmarshal public settings: %v", err)
}
if err := unmarshalSettings(protectedSettings, &protectedV); err != nil {
return fmt.Errorf("failed to unmarshal protected settings: %v", err)
}
return nil
}