mirror of
https://gitlab.com/psuapp/psu.git
synced 2024-08-30 18:12:34 +00:00
Replace "cluster" with "swarm" in log messages
This commit is contained in:
parent
2dc134e45d
commit
cf9ecabc7a
@ -127,14 +127,14 @@ var stackDeployCmd = &cobra.Command{
|
||||
logrus.WithFields(logrus.Fields{
|
||||
"stack": stackName,
|
||||
"endpoint": endpointId,
|
||||
"cluster": endpointSwarmClusterId,
|
||||
"swarm": endpointSwarmClusterId,
|
||||
}).Info("Creating stack")
|
||||
stack, deploymentErr := portainerClient.CreateSwarmStack(stackName, loadedEnvironmentVariables, stackFileContent, endpointSwarmClusterId, uint32(endpointId))
|
||||
common.CheckError(deploymentErr)
|
||||
logrus.WithFields(logrus.Fields{
|
||||
"stack": stack.Name,
|
||||
"endpoint": stack.EndpointID,
|
||||
"cluster": stack.SwarmID,
|
||||
"swarm": stack.SwarmID,
|
||||
"id": stack.Id,
|
||||
}).Info("Stack created")
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user