Skip to content

Commit

Permalink
v2.4.22.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Przepiorowski committed Apr 8, 2024
2 parents 55a1535 + 93aa30c commit 92c6896
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,9 @@
## 2.4.22.1

### Changes
- Fix to support backupuuid in dx_snapshot_db
- Fix to support dots in the user names while using @DOMAIN or @SYSTEM

## 2.4.22

### Added
Expand Down
3 changes: 2 additions & 1 deletion lib/Engine.pm
Expand Up @@ -950,7 +950,8 @@ sub login {
my $domain;
my %mylogin;

if (($domain) = $user =~ /(\w+)@(\w+)/) {
# allows dots in the user name when specified with domain or SYSTEM
if (($domain) = $user =~ /([\w\.]+)@(\w+)/) {
if (uc $2 eq "DOMAIN") {
$domain = "DOMAIN";
$user = $1;
Expand Down
13 changes: 10 additions & 3 deletions lib/MSSQLVDB_obj.pm
Expand Up @@ -293,9 +293,16 @@ sub snapshot
# backupUUID: (required)

if ( $frombackup eq "yes" ) {
%snapshot_type = (
"type" => "MSSqlExistingMostRecentBackupSyncParameters"
);
if (defined($uuid)) {
%snapshot_type = (
"type" => "MSSqlExistingSpecificBackupSyncParameters",
"backupUUID" => $uuid
);
} else {
%snapshot_type = (
"type" => "MSSqlExistingMostRecentBackupSyncParameters"
);
}
} else {

if ($self->getStagingPush() eq 'yes') {
Expand Down
2 changes: 1 addition & 1 deletion lib/Toolkit_helpers.pm
Expand Up @@ -29,7 +29,7 @@ use File::Spec;

use lib '../lib';

our $version = '2.4.22';
our $version = '2.4.22.1';

my $tz = new Date::Manip::TZ;
my $dt = new Date::Manip::Date;
Expand Down

0 comments on commit 92c6896

Please sign in to comment.