Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR containerregistry/resource-manager/v2017_06_01_preview] [Mirror] add clear-output-folder in resource-manager readme.typescript.md to f… #1040

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@
<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 @@ -28,7 +28,7 @@ public class Target {

/**
* The digest of the content, as defined by the Registry V2 HTTP API
* Specificiation.
* Specification.
*/
@JsonProperty(value = "digest")
private String digest;
Expand Down Expand Up @@ -98,7 +98,7 @@ public Target withSize(Long size) {
}

/**
* Get the digest of the content, as defined by the Registry V2 HTTP API Specificiation.
* Get the digest of the content, as defined by the Registry V2 HTTP API Specification.
*
* @return the digest value
*/
Expand All @@ -107,7 +107,7 @@ public String digest() {
}

/**
* Set the digest of the content, as defined by the Registry V2 HTTP API Specificiation.
* Set the digest of the content, as defined by the Registry V2 HTTP API Specification.
*
* @param digest the digest value to set
* @return the Target object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,14 @@ public Replication call(ReplicationInner inner) {
public Observable<Replication> getAsync(String resourceGroupName, String registryName, String replicationName) {
ReplicationsInner client = this.inner();
return client.getAsync(resourceGroupName, registryName, replicationName)
.map(new Func1<ReplicationInner, Replication>() {
.flatMap(new Func1<ReplicationInner, Observable<Replication>>() {
@Override
public Replication call(ReplicationInner inner) {
return wrapModel(inner);
public Observable<Replication> call(ReplicationInner inner) {
if (inner == null) {
return Observable.empty();
} else {
return Observable.just((Replication)wrapModel(inner));
}
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,14 @@ public Webhook call(WebhookInner inner) {
public Observable<Webhook> getAsync(String resourceGroupName, String registryName, String webhookName) {
WebhooksInner client = this.inner();
return client.getAsync(resourceGroupName, registryName, webhookName)
.map(new Func1<WebhookInner, Webhook>() {
.flatMap(new Func1<WebhookInner, Observable<Webhook>>() {
@Override
public Webhook call(WebhookInner inner) {
return wrapModel(inner);
public Observable<Webhook> call(WebhookInner inner) {
if (inner == null) {
return Observable.empty();
} else {
return Observable.just((Webhook)wrapModel(inner));
}
}
});
}
Expand Down