From 3d28188833528bb1b49af4b445fe0069509af541 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Wed, 8 Nov 2023 14:49:48 +0100 Subject: [PATCH] fix --- deployment/install.yml | 2 +- src/pv_controller/config.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment/install.yml b/deployment/install.yml index 14aecb8..f98cd54 100644 --- a/deployment/install.yml +++ b/deployment/install.yml @@ -35,7 +35,7 @@ spec: spec: containers: - name: pv-controller - image: wollud1969/pv-controller:1.0.1 + image: wollud1969/pv-controller:1.0.3 envFrom: - configMapRef: name: pv-controller diff --git a/src/pv_controller/config.py b/src/pv_controller/config.py index 9307bef..ea8fa41 100644 --- a/src/pv_controller/config.py +++ b/src/pv_controller/config.py @@ -27,5 +27,5 @@ class Config: pass def __getitem__(self, section): - return self.values[index] + return self.values[section]