Skip to content

Commit

Permalink
Generated from b62ee6d4c07c3758fb33db8851a038121b68c49a (#270)
Browse files Browse the repository at this point in the history
Fix tag for ruby SDK
  • Loading branch information
openapi-sdkautomation[bot] authored and SDK Automation committed Oct 22, 2019
1 parent b820645 commit 393b0e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
6 changes: 2 additions & 4 deletions storagecache/resource-manager/v2019_08_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
<version>0.0.3-beta</version>
<relativePath>../../../pom.xml</relativePath>
</parent>
<artifactId>azure-mgmt-storagecache</artifactId>
<version>1.0.0-beta</version>
Expand Down Expand Up @@ -71,8 +71,6 @@
<artifactId>azure-arm-client-runtime</artifactId>
<type>test-jar</type>
<scope>test</scope>
<!--Below version for test jar needs to be removed, this will be done as part of v1-runtime 1.6.7-->
<version>1.6.5</version>
</dependency>
</dependencies>
<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,10 @@ public StorageTarget call(StorageTargetInner inner) {
public Observable<StorageTarget> getAsync(String resourceGroupName, String cacheName, String storageTargetName) {
StorageTargetsInner client = this.inner();
return client.getAsync(resourceGroupName, cacheName, storageTargetName)
.flatMap(new Func1<StorageTargetInner, Observable<StorageTarget>>() {
.map(new Func1<StorageTargetInner, StorageTarget>() {
@Override
public Observable<StorageTarget> call(StorageTargetInner inner) {
if (inner == null) {
return Observable.empty();
} else {
return Observable.just((StorageTarget)wrapModel(inner));
}
public StorageTarget call(StorageTargetInner inner) {
return wrapModel(inner);
}
});
}
Expand Down

0 comments on commit 393b0e2

Please sign in to comment.