Skip to content

Commit

Permalink
fix: update incorrect network profile property to monitoring instead …
Browse files Browse the repository at this point in the history
…of network_monitoring for observability add on (#6405)
  • Loading branch information
snguyen64 authored Jun 15, 2023
1 parent 5604f68 commit d78e166
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/aks-preview/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ Pending
++++++
* Vendor new SDK and bump API version to 2023-05-02-preview.

0.5.144
+++++++
* Fix setup network profile with network observability due to incorrect property

0.5.143
+++++++
* Add `--enable-network-observability` flag to `az aks create` and `az aks update`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2379,7 +2379,7 @@ def set_up_network_profile(self, mc: ManagedCluster) -> ManagedCluster:

network_observability = self.context.get_enable_network_observability()
if network_observability is not None:
network_profile.network_monitoring = self.models.NetworkMonitoring(
network_profile.monitoring = self.models.NetworkMonitoring(
enabled=network_observability
)

Expand Down
2 changes: 1 addition & 1 deletion src/aks-preview/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from setuptools import setup, find_packages

VERSION = "0.5.143"
VERSION = "0.5.144"

CLASSIFIERS = [
"Development Status :: 4 - Beta",
Expand Down

0 comments on commit d78e166

Please sign in to comment.