Ver Fonte

Missing refresh reset

almahmoud há 7 anos atrás
pai
commit
34f7ab73b5
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      cloudbridge/cloud/providers/aws/resources.py

+ 1 - 0
cloudbridge/cloud/providers/aws/resources.py

@@ -1027,6 +1027,7 @@ class AWSNetwork(BaseNetwork):
     def refresh(self):
     def refresh(self):
         try:
         try:
             self._vpc.reload()
             self._vpc.reload()
+            self._unknown_state = False
         except ClientError:
         except ClientError:
             # The network no longer exists and cannot be refreshed.
             # The network no longer exists and cannot be refreshed.
             # set the status to unknown
             # set the status to unknown