Fix misleading error messages
Bug: 77834464
Test: None
Change-Id: I5c21625d1e6406399f5c397ac466f3d36a2c0cbc
diff --git a/cc/cc.go b/cc/cc.go
index 9aa48cf..9c86828 100644
--- a/cc/cc.go
+++ b/cc/cc.go
@@ -1093,13 +1093,13 @@
fromApi, err := strconv.Atoi(String(from.Properties.Sdk_version))
if err != nil {
ctx.PropertyErrorf("sdk_version",
- "Invalid sdk_version value (must be int): %q",
+ "Invalid sdk_version value (must be int or current): %q",
String(from.Properties.Sdk_version))
}
toApi, err := strconv.Atoi(String(to.Properties.Sdk_version))
if err != nil {
ctx.PropertyErrorf("sdk_version",
- "Invalid sdk_version value (must be int): %q",
+ "Invalid sdk_version value (must be int or current): %q",
String(to.Properties.Sdk_version))
}