feat: endpoints for config management via goose-server (#1207)
Co-authored-by: Lily Delalande <ldelalande@squareup.com>
This commit is contained in:
@@ -159,7 +159,7 @@ impl Config {
|
||||
}
|
||||
|
||||
// Load current values from the config file
|
||||
fn load_values(&self) -> Result<HashMap<String, Value>, ConfigError> {
|
||||
pub fn load_values(&self) -> Result<HashMap<String, Value>, ConfigError> {
|
||||
if self.config_path.exists() {
|
||||
let file_content = std::fs::read_to_string(&self.config_path)?;
|
||||
// Parse YAML into JSON Value for consistent internal representation
|
||||
|
||||
Reference in New Issue
Block a user