Skip to content

Commit

Permalink
Merge branch 'master' into operator-crd-nowebhooks
Browse files Browse the repository at this point in the history
  • Loading branch information
dapr-bot committed Nov 13, 2023
2 parents c276c67 + 1fae1b8 commit 7f67bb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/injector/patcher/sidecar_container.go
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,7 @@ func (c *SidecarConfig) getResourceRequirements() (*corev1.ResourceRequirements,
// GetAppID returns the AppID property, fallinb back to the name of the pod.
func (c *SidecarConfig) GetAppID() string {
if c.AppID == "" {
log.Warnf("app-id not set defaulting the app-id to: %s", c.pod.GetName())
return c.pod.GetName()
}

Expand Down

0 comments on commit 7f67bb6

Please sign in to comment.