Skip to content

Commit

Permalink
fix: ignore stderr output of sealctl render command (labring#3881)
Browse files Browse the repository at this point in the history
  • Loading branch information
fengxsong committed Sep 11, 2023
1 parent 14aee6e commit 5e83e76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/filesystem/rootfs/rootfs_default.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ func (f *defaultRootfs) mountRootfs(cluster *v2.Cluster, ipList []string) error

func getRenderCommand(binary string, target string) string {
// skip if sealctl doesn't has subcommand render
return fmt.Sprintf("%s render --debug=%v %s || true", binary,
return fmt.Sprintf("%s render --debug=%v %s 2>/dev/null || true", binary,
logger.IsDebugMode(),
strings.Join([]string{
filepath.Join(target, constants.EtcDirName),
Expand Down

0 comments on commit 5e83e76

Please sign in to comment.