Skip to content

Commit e2ce2f2

Browse files
committed
Remove duplicated method call
1 parent 830e880 commit e2ce2f2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

PluginsAndFeatures/azure-toolkit-for-intellij/src/com/microsoft/azure/toolkit/intellij/function/runner/deploy/FunctionDeploymentState.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,6 @@ private List<FunctionEntity> listFunctions(final IFunctionApp functionApp) {
243243
AzureMessager.getMessager().info(SYNCING_TRIGGERS_AND_FETCH_FUNCTION_INFORMATION);
244244
return Mono.fromCallable(() -> {
245245
functionApp.syncTriggers();
246-
final List<FunctionEntity> entities = functionApp.listFunctions(true);
247246
return Optional.ofNullable(functionApp.listFunctions(true))
248247
.filter(CollectionUtils::isNotEmpty)
249248
.orElseThrow(() -> new AzureToolkitRuntimeException(NO_TRIGGERS_FOUNDED));

0 commit comments

Comments
 (0)