diff --git a/gubernator/config.yaml b/gubernator/config.yaml index 355fc11b9e41..57178e78b44a 100644 --- a/gubernator/config.yaml +++ b/gubernator/config.yaml @@ -38,4 +38,3 @@ jobs: - pull-kubernetes-typecheck - pull-kubernetes-verify recursive_artifacts: false -spyglass: false diff --git a/gubernator/view_build.py b/gubernator/view_build.py index 69435611eb75..bc1a2c432fb5 100644 --- a/gubernator/view_build.py +++ b/gubernator/view_build.py @@ -257,7 +257,7 @@ def get(self, prefix, job, build): spyglass_link = '' external_config = get_build_config(prefix, self.app.config) if external_config is not None: - if self.app.config.get('spyglass'): + if external_config.get('spyglass'): spyglass_link = 'https://' + external_config['prow_url'] + '/view/gcs/' + build_dir if '/pull/' in prefix: pr, pr_path, pr_digest, repo = get_pr_info(prefix, self.app.config)