]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: infer the default container image during pull 45570/head
authorMichael Fritch <mfritch@suse.com>
Wed, 16 Mar 2022 13:39:03 +0000 (07:39 -0600)
committerMichael Fritch <mfritch@suse.com>
Tue, 22 Mar 2022 21:23:47 +0000 (15:23 -0600)
Fixes: https://tracker.ceph.com/issues/54588
Signed-off-by: Michael Fritch <mfritch@suse.com>
(cherry picked from commit 736af2b9c29e375a184b863220641b7d254e7d04)

src/cephadm/cephadm

index 4793dfa450565c01a25b444f5f6966f08665a022..570eb085b0f28e4b35afd6601d60cc0beb36a43c 100755 (executable)
@@ -2754,7 +2754,7 @@ def command_version():
 ##################################
 
 
-@infer_image
+@default_image
 def command_pull():
     # type: () -> int
 
@@ -5697,7 +5697,7 @@ def _get_parser():
     parser_version.set_defaults(func=command_version)
 
     parser_pull = subparsers.add_parser(
-        'pull', help='pull latest image version')
+        'pull', help='pull the default container image')
     parser_pull.set_defaults(func=command_pull)
 
     parser_inspect_image = subparsers.add_parser(
@@ -5749,7 +5749,7 @@ def _get_parser():
     parser_adopt.add_argument(
         '--skip-pull',
         action='store_true',
-        help='do not pull the latest image before adopting')
+        help='do not pull the default image before adopting')
     parser_adopt.add_argument(
         '--force-start',
         action='store_true',
@@ -5998,7 +5998,7 @@ def _get_parser():
     parser_bootstrap.add_argument(
         '--skip-pull',
         action='store_true',
-        help='do not pull the latest image before bootstrapping')
+        help='do not pull the default image before bootstrapping')
     parser_bootstrap.add_argument(
         '--skip-firewalld',
         action='store_true',