File tree 1 file changed +2
-5
lines changed
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ pub(crate) struct RelabelConfig {
85
85
#[ derive( PartialEq , Eq , Debug , serde:: Deserialize ) ]
86
86
pub ( crate ) struct ShortcutConfig {
87
87
#[ serde( default ) ]
88
- pub ( crate ) allow : Vec < String > ,
88
+ _empty : ( ) ,
89
89
}
90
90
91
91
#[ derive( PartialEq , Eq , Debug , serde:: Deserialize ) ]
@@ -257,9 +257,6 @@ mod tests {
257
257
infra = "T-infra"
258
258
259
259
[shortcut]
260
- allow = [
261
- "ready"
262
- ]
263
260
"# ;
264
261
let config = toml:: from_str :: < Config > ( & config) . unwrap ( ) ;
265
262
let mut ping_teams = HashMap :: new ( ) ;
@@ -295,7 +292,7 @@ mod tests {
295
292
nominate: Some ( NominateConfig {
296
293
teams: nominate_teams
297
294
} ) ,
298
- shortcut: Some ( ShortcutConfig { allow : vec! [ "ready" . into ( ) ] } ) ,
295
+ shortcut: Some ( ShortcutConfig { _empty : ( ) } ) ,
299
296
prioritize: None ,
300
297
major_change: None ,
301
298
glacier: None ,
You can’t perform that action at this time.
0 commit comments