Skip to content

Commit 6cc04a3

Browse files
committed
Fix config file path in error msg
1 parent 9e26be2 commit 6cc04a3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • netapp_dataops_traditional/netapp_dataops/mcp_server

netapp_dataops_traditional/netapp_dataops/mcp_server/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def load_credentials():
1919

2020
# If path not found, raise an error that config.json file doesn't exist
2121
if not os.path.exists(credentials_path):
22-
raise FileNotFoundError("Credentials file 'config.json' not found in the netapp_dataops directory.")
22+
raise FileNotFoundError("Credentials file 'config.json' not found in the ~/.netapp_dataops directory.")
2323

2424
# Opens the file specified, reads its contents, parses the contents as JSON, and stores the resulting data
2525
with open(credentials_path, 'r') as f:
@@ -48,4 +48,4 @@ def load_credentials():
4848
if key not in config:
4949
raise ValueError(f"Missing required key '{key}' in 'config.json' file.")
5050

51-
return config # Returns the validated configuration dictionary
51+
return config # Returns the validated configuration dictionary

0 commit comments

Comments
 (0)