()
| 130 | } |
| 131 | |
| 132 | func (h *Handler) getInstanceID() string { |
| 133 | h.mu.Lock() |
| 134 | defer h.mu.Unlock() |
| 135 | if h.metadata == nil { |
| 136 | return "" |
| 137 | } |
| 138 | id, err := common.GetInstanceID(h.metadata.InstanceID) |
| 139 | if err != nil { |
| 140 | return "" |
| 141 | } |
| 142 | return id |
| 143 | } |
| 144 | |
| 145 | func (h *Handler) getScene() base.SceneType { |
| 146 | h.mu.Lock() |
no test coverage detected