mirror of
https://github.com/dev-claw/vripper-project.git
synced 2026-08-19 08:35:41 +02:00
Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
39ac5b925b | ||
|
|
c7d683ff53 | ||
|
|
fcc0cecaf3 |
@@ -293,11 +293,22 @@ class GrpcServerAppEndpointService : EndpointServiceGrpcKt.EndpointServiceCorout
|
||||
build()
|
||||
}
|
||||
|
||||
val hostSettings = settings.hostSettings.entries.associate {
|
||||
val hostSettings = with(SettingsOuterClass.HostSettingsMap.newBuilder()) {
|
||||
this.putAllSettings(it.value.entries.associate { setting ->
|
||||
setting.key.name to setting.value
|
||||
})
|
||||
build()
|
||||
}
|
||||
it.key.name to hostSettings
|
||||
}
|
||||
|
||||
return with(SettingsOuterClass.Settings.newBuilder()) {
|
||||
this.connectionSettings = connectionSettings
|
||||
this.downloadSettings = downloadSettings
|
||||
this.viperSettings = viperSettings
|
||||
this.systemSettings = systemSettings
|
||||
this.putAllHostSettings(hostSettings)
|
||||
build()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user