Skip to content

Commit

Permalink
scripts/run-gradually-deprecated: ignoring the issue when it's this s…
Browse files Browse the repository at this point in the history
…cript
  • Loading branch information
tombuildsstuff committed Aug 4, 2023
1 parent fbb1463 commit 9d2a983
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions scripts/run-gradually-deprecated.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,16 @@ function runGraduallyDeprecatedFunctions {
exit 1
fi
fi

# require Azure SDK clients are created with the resource manager endpoint specified
grep -H -n "Client(o.SubscriptionId)" "$f" && {
echo "The Azure SDK (track1 & kermit) clients should be created with the function NewFoosClientWithBaseURI() "
echo "that has the resource manager endpoint explicitly specified. These can be found in:"
echo "* $f"
exit 1
}
fi

# require Azure SDK clients are created with the resource manager endpoint specified
grep -H -n "Client(o.SubscriptionId)" "$f" && {
echo "The Azure SDK (track1 & kermit) clients should be created with the function NewFoosClientWithBaseURI() "
echo "that has the resource manager endpoint explicitly specified."
exit 1
}
done
}

Expand Down

0 comments on commit 9d2a983

Please sign in to comment.