Skip to content

Commit

Permalink
see #9750
Browse files Browse the repository at this point in the history
  • Loading branch information
ofek committed Sep 29, 2021
1 parent 2ff575a commit 3872f50
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# (C) Datadog, Inc. 2021-present
# All rights reserved
# Licensed under a 3-clause BSD style license (see LICENSE)


def initialize_instance(values, **kwargs):
# TODO: remove when deprecation is finalized https://github.com/DataDog/integrations-core/pull/9340
if 'username' not in values and 'user' in values:
values['username'] = values['user']

return values

0 comments on commit 3872f50

Please sign in to comment.