Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CreateOrUpdateDeployment should use deployment to update (#1929)
In CreateOrUpdateDeployment, the function will return when Create succeeds, and call Update when create fails. But Create will return an empty deployment object d, if we use d, Update will return error that resource name is empty.
- Loading branch information