You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 35ba14d
Browse filesBrowse the repository at this point in the historyBrowse files
required=true, description="ID of the zone the template is currently hosted on.")
58
+
description = "ID of the zone the template is currently hosted on. If not specified and template is cross-zone, then we will sync this template to region wide image store")
60
59
privateLongsourceZoneId;
61
60
62
61
@@ -110,10 +109,12 @@ public String getEventDescription() {
110
109
return"copying template: " + getId() + " from zone: " + getSourceZoneId() + " to zone: " + getDestinationZoneId();
111
110
}
112
111
112
+
@Override
113
113
publicApiCommandJobTypegetInstanceType() {
114
114
returnApiCommandJobType.Template;
115
115
}
116
116
117
+
@Override
117
118
publicLonggetInstanceId() {
118
119
returngetId();
119
120
}
@@ -132,7 +133,7 @@ public void execute() throws ResourceAllocationException{
132
133
}
133
134
134
135
response.setResponseName(getCommandName());
135
-
this.setResponseObject(response);
136
+
setResponseObject(response);
136
137
} else {
137
138
thrownewServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to copy template");
0 commit comments