From b25ea30c2a6e919b9772ad77d2e4d3a0a48dccfe Mon Sep 17 00:00:00 2001 From: Nick Goodall Date: Tue, 13 Jan 2026 14:10:53 +0000 Subject: [PATCH] service_name -> service --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 2fdf640..223dbbc 100644 --- a/main.go +++ b/main.go @@ -292,7 +292,7 @@ func init() { func writePBConfig(path, serviceName string) error { const tmpl = `[pocketbase] version = "%s" -service_name = "%s" +service = "%s" [server] ip = "127.0.0.1" @@ -617,7 +617,7 @@ type serverConfig struct { type pocketBaseConfig struct { Version string `toml:"version"` - ServiceName string `toml:"service_name"` + ServiceName string `toml:"service"` } type deploymentContext struct { @@ -646,7 +646,7 @@ func buildDeploymentContext() (*deploymentContext, error) { serviceName := cfg.PocketBase.ServiceName if serviceName == "" { - return nil, fmt.Errorf("pb.toml missing [pocketbase].service_name") + return nil, fmt.Errorf("pb.toml missing [pocketbase].service") } serverIP := cfg.Server.IP