Skip to content

Commit

Permalink
Merge pull request #5329 from twz123/list-images-no-dyn-check
Browse files Browse the repository at this point in the history
Don't check for dynamic config when listing images
  • Loading branch information
twz123 authored Dec 10, 2024
2 parents fa0ab80 + b83ce67 commit 86789c3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cmd/airgap/listimages.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ limitations under the License.
package airgap

import (
"errors"
"fmt"

"github.com/k0sproject/k0s/pkg/airgap"
Expand All @@ -39,10 +38,6 @@ func NewAirgapListImagesCmd() *cobra.Command {
return err
}

if opts.EnableDynamicConfig {
return errors.New("dynamic config is not supported for airgap list-images")
}

clusterConfig, err := opts.K0sVars.NodeConfig()
if err != nil {
return fmt.Errorf("failed to get config: %w", err)
Expand Down

0 comments on commit 86789c3

Please sign in to comment.