Fix incorrect Eventhubs error message (#3210)

Signed-off-by: Bernd Verst <github@bernd.dev>
This commit is contained in:
Bernd Verst 2023-11-06 12:55:18 -08:00 committed by GitHub
parent 88eb49c838
commit 7fc784e12e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -107,9 +107,9 @@ func parseEventHubsMetadata(meta map[string]string, isBinding bool, log logger.L
}
}
// If both storageConnectionString and storageAccountKey are specified, show a warning because the connection string will take priority
// If both storageConnectionString and storageAccountName are specified, show a warning because the connection string will take priority
if m.StorageConnectionString != "" && m.StorageAccountName != "" {
log.Warn("Property storageAccountKey is ignored when storageConnectionString is present")
log.Warn("Property storageAccountName is ignored when storageConnectionString is present")
}
// Entity management is only possible when using Azure AD