From 8cfbae638c207d4d139b0243c32917e8878ec7eb Mon Sep 17 00:00:00 2001 From: Lubomír Sedlář Date: Dec 08 2020 09:50:48 +0000 Subject: Include compose label in response The value is saved in the database, but it's missing from API responses and from messages. This patch adds the data to composeinfo structure. It includes the field if it has a value. Signed-off-by: Lubomír Sedlář --- diff --git a/cts/models.py b/cts/models.py index 4e6d979..b6e91c2 100644 --- a/cts/models.py +++ b/cts/models.py @@ -495,6 +495,7 @@ class Compose(CTSBase): ci.compose.type = self.type ci.compose.date = self.date ci.compose.respin = self.respin + ci.compose.label = self.label ci.release.name = self.release_name ci.release.short = self.release_short ci.release.version = self.release_version