You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is currently part of golangci-lint, but seems to have configuration
issues. If we run is directly, we can control it better, including using
the recommended `//lint:ignore` directives.
This also fixes or ignores staticcheck issues in the code
returnnil, apierrors.LogAndReturn(logger, apierrors.ForbiddenAsNotFound(err), "Error getting runner info in repository")
81
79
}
82
80
83
81
if!runnerInfo.Capabilities.RollingDeploy {
84
-
err=fmt.Errorf("The configured runner '%s' does not support rolling deploys", h.runnerName)
85
-
returnnil, apierrors.LogAndReturn(logger, apierrors.NewRollingDeployNotSupportedError(err), "runner does not support rolling deploys", "name", h.runnerName)
82
+
returnnil, apierrors.LogAndReturn(logger, apierrors.NewRollingDeployNotSupportedError(h.runnerName), "runner does not support rolling deploys", "name", h.runnerName)
0 commit comments