We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6256c7a commit 69ca24aCopy full SHA for 69ca24a
balena/settings.py
@@ -164,6 +164,11 @@ def __read_settings(self):
164
config_data = {}
165
options = config_reader.options(self.CONFIG_SECTION)
166
for option in options:
167
+ # Always use the default supported SDK version and pine endpoint
168
+ # Unless it was explicetely defined differently (in short, do not cache this)
169
+ if option == 'api_version' or option == 'pine_endpoint':
170
+ config_data[option] = self.__base_settings[option]
171
+ continue
172
try:
173
config_data[option] = config_reader.get(self.CONFIG_SECTION, option)
174
if config_data[option] == "true":
0 commit comments