Skip to content

Conversation

@SalmaElsoly
Copy link
Contributor

@SalmaElsoly SalmaElsoly commented Oct 19, 2025

Description

Changes

  • kubeconfigs + invoices now are saved inside configured directory

Related Issues

#673

Checklist

  • Tests included
  • Build pass
  • Documentation
  • Code format and docstring

@SalmaElsoly SalmaElsoly marked this pull request as ready for review October 19, 2025 06:38
Copy link
Contributor

@rawdaGastan rawdaGastan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add tests, please

if err != nil {
return Configuration{}, fmt.Errorf("failed to expand file storage base directory path: %w", err)
}
if _, err := os.Stat(config.FileStoragePath); os.IsNotExist(err) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is checked in expandPath? no?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, expand path only expands tilde and converts to absolute path, it doesn't check if path exist or not

@SalmaElsoly SalmaElsoly force-pushed the master_filestorage branch 2 times, most recently from 5a5e59d to 2256595 Compare October 23, 2025 12:33
@SalmaElsoly SalmaElsoly marked this pull request as draft November 17, 2025 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants