Skip to content

Commit 73567fb

Browse files
committed
Fix un-needed environment attribute in deployer
1 parent b7131fc commit 73567fb

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

conf/appconfig.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@
8080
'args': {}
8181
}
8282
},
83-
'deployment': {},
84-
'environment': {}
83+
'deployment': {}
8584
}
8685

8786
DEFAULT_HIPCHAT_TOKEN = os.getenv('HIPCHAT_TOKEN', '')

tests/unit/orchestrator/services/test_config.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -384,8 +384,7 @@ def test_evaluate_config_with_deployers():
384384
'args': {}
385385
}
386386
},
387-
'deployment': {},
388-
'environment': {}
387+
'deployment': {}
389388
},
390389
'deployer2': {
391390
'url': 'deployer2-url',
@@ -397,8 +396,8 @@ def test_evaluate_config_with_deployers():
397396
}
398397
},
399398
'deployer-name': 'deployer2',
400-
'deployment': {},
401-
'environment': {}
399+
'deployment': {}
400+
402401
}
403402
}
404403
})
@@ -591,8 +590,7 @@ def test_load_config(m_validate_schema, m_get_provider):
591590
'proxy': {},
592591
'deployment': {},
593592
'url': 'deployer2-url1',
594-
'enabled': True,
595-
'environment': {}
593+
'enabled': True
596594
}
597595
},
598596
'environment': {

0 commit comments

Comments
 (0)