Bug fix for the removal of a profile, when no existing default profile are set. The opts.config.Default() would be then nil, and accessing the Name would fire a nil pointer error.
We are fixing this by checking / storing the default profile early, and by storing the name in the command options.
Bug fix for the removal of a profile, when no existing default profile are set. The
opts.config.Default()
would be thennil
, and accessing theName
would fire a nil pointer error.We are fixing this by checking / storing the default profile early, and by storing the name in the command options.