Skip to content

Commit c39d5f1

Browse files
committed
chore(service): adapts cp debug outputs
1 parent 92d13c3 commit c39d5f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/resource_docker_service_funcs.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func resourceDockerServiceCreate(d *schema.ResourceData, meta interface{}) error
9898
}
9999

100100
func resourceDockerServiceRead(d *schema.ResourceData, meta interface{}) error {
101-
log.Printf("[INFO] Waiting for network: '%s' to expose all fields: max '%v seconds'", d.Id(), 30)
101+
log.Printf("[INFO] Waiting for service: '%s' to expose all fields: max '%v seconds'", d.Id(), 30)
102102

103103
stateConf := &resource.StateChangeConf{
104104
Pending: []string{"pending"},
@@ -142,7 +142,7 @@ func resourceDockerServiceReadRefreshFunc(
142142
log.Printf("[DEBUG] Docker service inspect: %s", jsonObj)
143143

144144
if service.Endpoint.Spec.Mode != service.Spec.EndpointSpec.Mode {
145-
log.Printf("[DEBUG] endpoint spec of Service %s is not exposed", serviceID)
145+
log.Printf("[DEBUG] endpoint.Spec of Service %s does not match Spec.EndpointSpec yet", serviceID)
146146
return serviceID, "pending", nil
147147
}
148148

0 commit comments

Comments
 (0)