Skip to content

Commit

Permalink
Merge pull request #55684 from Ch3LL/bp_50344
Browse files Browse the repository at this point in the history
Master Port #50344
  • Loading branch information
dwoz committed Dec 21, 2019
2 parents ca6ae1d + c8c7bf9 commit 83f429c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions salt/modules/test.py
Expand Up @@ -18,7 +18,6 @@
import salt.utils.functools
import salt.utils.hashutils
import salt.utils.platform
import salt.utils.versions
import salt.version
import salt.loader
from salt.ext import six
Expand Down Expand Up @@ -497,10 +496,12 @@ def opts_pkg():


def rand_str(size=9999999999, hash_type=None):
salt.utils.versions.warn_until(
'Neon',
'test.rand_str has been renamed to test.random_hash'
)
'''
This function has been renamed to
random_hash. This function will stay to
ensure backwards compatibility, but please
switch to using the prefered name random_hash.
'''
return random_hash(size=size, hash_type=hash_type)


Expand Down

0 comments on commit 83f429c

Please sign in to comment.