Skip to content

Commit

Permalink
Merge pull request #884 from globocom/autoupgrade-create-dns
Browse files Browse the repository at this point in the history
Fix CreateDNS unicode
  • Loading branch information
Erkmann committed May 8, 2023
2 parents 2224e83 + c80c787 commit d7b978a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions dbaas/workflow/steps/util/dns.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,6 @@ def undo(self):

class CreateDNSTemporaryInstance(CreateDNS):

def __unicode__(self):
return "Destroying DNS..."

@property
def is_valid(self):
return self.instance.temporary
Expand All @@ -325,7 +322,8 @@ def do(self):

class DestroyDNSTemporaryInstance(CreateDNS):


def __unicode__(self):
return "Destroying DNS..."

@property
def is_valid(self):
Expand Down

0 comments on commit d7b978a

Please sign in to comment.