Skip to content

Commit

Permalink
[Release-1.12] Fix incorrect Eventhubs error message (#3210) (#3212)
Browse files Browse the repository at this point in the history
Signed-off-by: Bernd Verst <[email protected]>
  • Loading branch information
berndverst authored Nov 6, 2023
1 parent 8001503 commit 975b28a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/component/azure/eventhubs/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 975b28a

Please sign in to comment.