From 5990247839b9061d673e9dbdc92e50e05cf7b59e Mon Sep 17 00:00:00 2001
From: technillogue <technillogue@gmail.com>
Date: Sun, 19 May 2024 01:51:57 -0400
Subject: [PATCH] in the change from org.cogmodel to run.cog, cog_version was
 also changed to just version

---
 modules/cog.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/cog.nix b/modules/cog.nix
index 57177e3..ea0c7a5 100644
--- a/modules/cog.nix
+++ b/modules/cog.nix
@@ -116,7 +116,7 @@ in {
         Labels = {
           "run.cog.has_init" = "true";
           "run.cog.config" = builtins.toJSON config.cog;
-          "run.cog.cog_version" = "${cfg.cog_version}";
+          "run.cog.version" = "${cfg.cog_version}";
           # Initially we had openapi_schema here, but there is a problem with doing that:
           # builtins.readFile has to generate the file to read the contents,
           # and so computing the hash would require building most of the dependencies.