Skip to content

Commit f7f3f91

Browse files
committed
Fix for issue #53
1 parent 2089991 commit f7f3f91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gen/src/main/java/com/softlayer/api/gen/ClassWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ public ClassWriter emitServiceMethod(TypeClass.Method method, boolean async) thr
272272
if (!method.name.equals(method.meta.name)) {
273273
params.put("value", stringLiteral(method.meta.name));
274274
}
275-
if (!method.meta.isstatic) {
275+
if (!method.meta.isstatic && !"SoftLayer_Resource_Metadata".equals(type.meta.name)) {
276276
params.put("instanceRequired", true);
277277
}
278278
emitAnnotation(TYPE_API_METHOD, params);

0 commit comments

Comments
 (0)