Output status of append only mode on startup

This commit is contained in:
Leo R. Lundgren
2024-07-29 01:12:02 +02:00
parent 664d997006
commit da5bb66030
2 changed files with 11 additions and 0 deletions

View File

@@ -135,6 +135,12 @@ func (app *restServerApp) runRoot(cmd *cobra.Command, args []string) error {
log.Fatalf("error: %v", err)
}
if app.Server.AppendOnly {
log.Println("Append only mode enabled")
} else {
log.Println("Append only mode disabled")
}
if app.Server.PrivateRepos {
log.Println("Private repositories enabled")
} else {