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{
|
logrus.WithFields(logrus.Fields{
|
||||||
"stack": stackName,
|
"stack": stackName,
|
||||||
"endpoint": endpointId,
|
"endpoint": endpointId,
|
||||||
"cluster": endpointSwarmClusterId,
|
"swarm": endpointSwarmClusterId,
|
||||||
}).Info("Creating stack")
|
}).Info("Creating stack")
|
||||||
stack, deploymentErr := portainerClient.CreateSwarmStack(stackName, loadedEnvironmentVariables, stackFileContent, endpointSwarmClusterId, uint32(endpointId))
|
stack, deploymentErr := portainerClient.CreateSwarmStack(stackName, loadedEnvironmentVariables, stackFileContent, endpointSwarmClusterId, uint32(endpointId))
|
||||||
common.CheckError(deploymentErr)
|
common.CheckError(deploymentErr)
|
||||||
logrus.WithFields(logrus.Fields{
|
logrus.WithFields(logrus.Fields{
|
||||||
"stack": stack.Name,
|
"stack": stack.Name,
|
||||||
"endpoint": stack.EndpointID,
|
"endpoint": stack.EndpointID,
|
||||||
"cluster": stack.SwarmID,
|
"swarm": stack.SwarmID,
|
||||||
"id": stack.Id,
|
"id": stack.Id,
|
||||||
}).Info("Stack created")
|
}).Info("Stack created")
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user