Commit dc50ff0
committed
updata: fix fetching max version in remove-update
- When running the remove-update command it would report the max version
available in the manifest. But it is checking the wrong order so that
the latest version is not correctly reported. This is a simple fix for
that. Instead of reading the version, we read the max_version field
so that the max version is correctly captured.
Signed-off-by: Yutong Sun <[email protected]>1 parent d5eb9db commit dc50ff0
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
0 commit comments