pkg/logging: Remove unneeded argument
This commit is contained in:
parent
d7847b5d69
commit
2493cbb078
15 changed files with 75 additions and 76 deletions
|
|
@ -60,7 +60,7 @@ func (sp systempause) Run(context wisski_distillery.Context) (err error) {
|
|||
}
|
||||
|
||||
func (sp systempause) start(context wisski_distillery.Context, dis *dis.Distillery) error {
|
||||
logging.LogMessage(context.Stderr, context.Context, "Starting Components")
|
||||
logging.LogMessage(context.Stderr, "Starting Components")
|
||||
|
||||
// find all the core stacks
|
||||
if err := status.RunErrorGroup(context.Stderr, status.Group[component.Installable, error]{
|
||||
|
|
@ -76,7 +76,7 @@ func (sp systempause) start(context wisski_distillery.Context, dis *dis.Distille
|
|||
return err
|
||||
}
|
||||
|
||||
logging.LogMessage(context.Stderr, context.Context, "Starting Up WissKIs")
|
||||
logging.LogMessage(context.Stderr, "Starting Up WissKIs")
|
||||
|
||||
// find the instances
|
||||
wissKIs, err := dis.Instances().All(context.Context)
|
||||
|
|
@ -102,7 +102,7 @@ func (sp systempause) start(context wisski_distillery.Context, dis *dis.Distille
|
|||
}
|
||||
|
||||
func (sp systempause) stop(context wisski_distillery.Context, dis *dis.Distillery) error {
|
||||
logging.LogMessage(context.Stderr, context.Context, "Shutting Down WissKIs")
|
||||
logging.LogMessage(context.Stderr, "Shutting Down WissKIs")
|
||||
|
||||
// find the instances
|
||||
wissKIs, err := dis.Instances().All(context.Context)
|
||||
|
|
@ -124,7 +124,7 @@ func (sp systempause) stop(context wisski_distillery.Context, dis *dis.Distiller
|
|||
return err
|
||||
}
|
||||
|
||||
logging.LogMessage(context.Stderr, context.Context, "Shutting Down Components")
|
||||
logging.LogMessage(context.Stderr, "Shutting Down Components")
|
||||
|
||||
// find all the core stacks
|
||||
if err := status.RunErrorGroup(context.Stderr, status.Group[component.Installable, error]{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue