diff --git a/internal/pkg/cli/svc_init.go b/internal/pkg/cli/svc_init.go index ab773379cf7..1fecf8e3813 100644 --- a/internal/pkg/cli/svc_init.go +++ b/internal/pkg/cli/svc_init.go @@ -253,9 +253,9 @@ func (o *initSvcOpts) Execute() error { o.platform = platform if o.platform != nil { log.Warningf(`Your architecture type is currently unsupported. Setting platform %s instead.\n`, dockerengine.DockerBuildPlatform(dockerengine.LinuxOS, dockerengine.Amd64Arch)) - } - if o.wkldType != manifest.RequestDrivenWebServiceType { - log.Warning("See 'platform' field in your manifest.\n") + if o.wkldType != manifest.RequestDrivenWebServiceType { + log.Warning("See 'platform' field in your manifest.\n") + } } manifestPath, err := o.init.Service(&initialize.ServiceProps{