Refactoring

This commit is contained in:
2025-07-28 15:36:45 +02:00
parent a8308e0f4f
commit bea0285007
2 changed files with 7 additions and 5 deletions

View File

@@ -34,7 +34,7 @@ type CertificateRecord struct {
}
func caStatePath() string {
return filepath.Join(filepath.Dir(CAConfigPath), CAConfig.StateName())
return filepath.Join(filepath.Dir(CAConfigPath), CAConfig.GetStateFileName())
}
// LoadCAState loads the CA state from a JSON file