Skip to content

Commit

Permalink
Fix NoSuchMethodError when pillar is not enabled (#3)
Browse files Browse the repository at this point in the history
- Closes #2
  • Loading branch information
samsondav authored Aug 22, 2023
1 parent b9e67a8 commit cfdaab2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/znn_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,8 @@ void _printServiceStatus() {
bool _verifyProducerConfig(Map<dynamic, dynamic> config) {
if (!config.containsKey('Producer')) {
return false;
} else if config['Producer'] == null {
return false;
}
if (!config['Producer'].containsKey('Index') ||
!config['Producer'].containsKey('KeyFilePath') ||
Expand Down

0 comments on commit cfdaab2

Please sign in to comment.