new api for common configs
This commit is contained in:
1 parent
33621ff523
commit
795aee86d1
1 file changed
+1
-1
+1
-1
@@ -103,7 +103,7 @@ func (s *Store) applyUpsertConfigCommand(data []byte) (interface{}, error) {
|
||||
}
|
||||
|
||||
func (s *Store) applyDeleteCommonConfigsCommand(data []byte) (interface{}, error) {
|
||||
deleteConfigs := cluster.DeleteConfigs{}
|
||||
deleteConfigs := cluster.DeleteCommonConfig{}
|
||||
err := json.Unmarshal(data, &deleteConfigs)
|
||||
if err != nil {
|
||||
return nil, errors.WithMessage(err, "unmarshal cluster.DeleteConfigs")
|
||||
|
||||
Reference in new issue
Block a user