Compare commits
No commits in common. "978bb783e300c7a4ca4b58716c1688726d6f967f" and "a4f9ca969c35cc007b3579a74e83d95d2dd8fa04" have entirely different histories.
978bb783e3
...
a4f9ca969c
|
@ -180,6 +180,8 @@ pub fn main() anyerror!void {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
.ec2_query_no_input => {
|
.ec2_query_no_input => {
|
||||||
|
// TODO: hunt down this compile error:
|
||||||
|
// fmt.zig:459:5: error: invalid format string 's' for type 'models.ec2.2016-11-15.json.Filter
|
||||||
std.log.err("EC2 functions not yet working in 0.11", .{});
|
std.log.err("EC2 functions not yet working in 0.11", .{});
|
||||||
// // Describe regions is a simpler request and easier to debug
|
// // Describe regions is a simpler request and easier to debug
|
||||||
const result = try client.call(services.ec2.describe_regions.Request{}, options);
|
const result = try client.call(services.ec2.describe_regions.Request{}, options);
|
||||||
|
|
|
@ -55,10 +55,6 @@ pub fn encodeInternal(
|
||||||
rc = try encodeInternal(allocator, parent, field_name, first, obj.*, writer, options);
|
rc = try encodeInternal(allocator, parent, field_name, first, obj.*, writer, options);
|
||||||
} else {
|
} else {
|
||||||
if (!first) _ = try writer.write("&");
|
if (!first) _ = try writer.write("&");
|
||||||
// @compileLog(@typeInfo(@TypeOf(obj)));
|
|
||||||
if (ti.child == []const u8 or ti.child == u8)
|
|
||||||
try writer.print("{s}{s}={s}", .{ parent, field_name, obj })
|
|
||||||
else
|
|
||||||
try writer.print("{s}{s}={any}", .{ parent, field_name, obj });
|
try writer.print("{s}{s}={any}", .{ parent, field_name, obj });
|
||||||
rc = false;
|
rc = false;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user