Skip to content

Commit

Permalink
fix regression in getSystemKey() never calling subscribers. Closes #1528
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmelsayed committed Jul 7, 2017
1 parent af2799f commit 8d0a730
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1835,7 +1835,7 @@ export class FunctionApp {

getSystemKey(): Observable<FunctionKeys> {
const masterKey = this.masterKey
? Observable.of()
? Observable.of(null) // you have to pass something to Observable.of() otherwise it doesn't trigger subscribers.
: this.getHostSecretsFromScm();

return masterKey
Expand Down

0 comments on commit 8d0a730

Please sign in to comment.