-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emit target namespace on the stage log #970
Conversation
@@ -189,7 +189,7 @@ func (e *Executor) addBuiltinAnnontations(manifests []provider.Manifest, variant | |||
} | |||
|
|||
func (e *Executor) applyManifests(ctx context.Context, manifests []provider.Manifest) error { | |||
e.LogPersister.Infof("Start applying %d manifests", len(manifests)) | |||
e.LogPersister.Infof("Start applying %d manifests to %q namespace", len(manifests), e.config.Input.Namespace) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What will be logged when the Input.Namespace
was not specified?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're quite right. Can't really say which namespace this applies to, so make sure to show when only specified.
Code coverage for golang is
|
Thank you. |
What this PR does / why we need it:
The below log shows the contents of the manifest, so it appears to be correct:
Instead, I appended target namespace info to another log.
Which issue(s) this PR fixes:
Fixes #969
Does this PR introduce a user-facing change?: