mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
implement cmd:i, hook up telemetry switch, fix some settings types
This commit is contained in:
@@ -463,6 +463,7 @@ func (ws *WshServer) EventReadHistoryCommand(ctx context.Context, data wshrpc.Co
|
||||
return events, nil
|
||||
}
|
||||
|
||||
func (ws *WshServer) SetConfigCommand(ctx context.Context, data waveobj.MetaMapType) error {
|
||||
return wconfig.SetBaseConfigValue(data)
|
||||
func (ws *WshServer) SetConfigCommand(ctx context.Context, data wconfig.MetaSettingsType) error {
|
||||
log.Printf("SETCONFIG: %v\n", data)
|
||||
return wconfig.SetBaseConfigValue(data.MetaMapType)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user