From 5c5484b4d225e289b2eeb1a54c45a05f80b8ef25 Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Tue, 25 Jun 2024 07:12:46 +0200 Subject: [PATCH] Export package runtimeEnv --- cmd/cc-backend/main.go | 4 ++-- {internal => pkg}/runtimeEnv/setup.go | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename {internal => pkg}/runtimeEnv/setup.go (100%) diff --git a/cmd/cc-backend/main.go b/cmd/cc-backend/main.go index ed471ac..ad69c58 100644 --- a/cmd/cc-backend/main.go +++ b/cmd/cc-backend/main.go @@ -34,10 +34,10 @@ import ( "github.com/ClusterCockpit/cc-backend/internal/metricdata" "github.com/ClusterCockpit/cc-backend/internal/repository" "github.com/ClusterCockpit/cc-backend/internal/routerConfig" - "github.com/ClusterCockpit/cc-backend/internal/runtimeEnv" "github.com/ClusterCockpit/cc-backend/internal/util" "github.com/ClusterCockpit/cc-backend/pkg/archive" "github.com/ClusterCockpit/cc-backend/pkg/log" + "github.com/ClusterCockpit/cc-backend/pkg/runtimeEnv" "github.com/ClusterCockpit/cc-backend/pkg/schema" "github.com/ClusterCockpit/cc-backend/web" "github.com/go-co-op/gocron" @@ -662,5 +662,5 @@ func main() { } runtimeEnv.SystemdNotifiy(true, "running") wg.Wait() - log.Print("Gracefull shutdown completed!") + log.Print("Graceful shutdown completed!") } diff --git a/internal/runtimeEnv/setup.go b/pkg/runtimeEnv/setup.go similarity index 100% rename from internal/runtimeEnv/setup.go rename to pkg/runtimeEnv/setup.go