(msg jsonstream.Message)
| 172 | } |
| 173 | |
| 174 | func isDone(msg jsonstream.Message) bool { |
| 175 | // TODO there should be a better way to detect push is done than such a status message check |
| 176 | switch strings.ToLower(msg.Status) { |
| 177 | case "pushed", "layer already exists": |
| 178 | return true |
| 179 | default: |
| 180 | return false |
| 181 | } |
| 182 | } |
| 183 | |
| 184 | // progressText is a minimal variant of [jsonmessage.JSONProgress.String()] |
| 185 | // |
no outgoing calls
no test coverage detected