(revision resources.Revision, isDeployed bool)
| 111 | } |
| 112 | |
| 113 | func (cmd RevisionCommand) displayBasicRevisionInfo(revision resources.Revision, isDeployed bool) { |
| 114 | keyValueTable := [][]string{ |
| 115 | {"revision:", fmt.Sprintf("%d", revision.Version)}, |
| 116 | {"deployed:", strconv.FormatBool(isDeployed)}, |
| 117 | {"description:", revision.Description}, |
| 118 | {"deployable:", strconv.FormatBool(revision.Deployable)}, |
| 119 | {"revision GUID:", revision.GUID}, |
| 120 | {"droplet GUID:", revision.Droplet.GUID}, |
| 121 | {"created on:", revision.CreatedAt}, |
| 122 | } |
| 123 | cmd.UI.DisplayKeyValueTable("", keyValueTable, 3) |
| 124 | } |
| 125 | |
| 126 | func (cmd RevisionCommand) displayEnvVarGroup(envVarGroup v7action.EnvironmentVariableGroup) { |
| 127 | envVarTable := [][]string{} |
no test coverage detected