Well, the point is not really about "simpler", but "might change/be
i18n'ed" and thus "is not predictable". However, this is really a side
issue to this report. The non-machine-readability was originally bug
1197754, but it applies to lxc-copy as well. If/once the message is
stable, I can parse "^Created ([^ ]+)", but this still isn't a nice API.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1551935

Title:
  lxc-copy message is the wrong way around

Status in lxc package in Ubuntu:
  Fix Committed

Bug description:
  $ sudo lxc-copy -n adt-wily -e
  Created adt-wily as clone of adt-wily_1WtXPo

  This should say "Created adt-wily_1WtXPo as a clone of adt-wily". This
  might seem trivial, but is highly relevant when trying to parse that
  message to find out the cloned container name. This is still not easy
  at all :-(

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1551935/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to