3.5.7.4. 更新 registry

要更新已注册的 registry 的 URL 或已经注册的个人访问令牌,请运行以下命令:

$ odo registry update

输出示例:

 $ odo registry update MyRegistry https://otherregistry.example.com --token <other_access_token>
 ? Are you sure you want to update registry "MyRegistry" Yes
 Successfully updated registry

使用 --force (或 -f)标记强制更新 registry,而无需确认。