Sha256: 428edbd2ffa324e4dac5aeaf25a877d495de34a0f22fe3f47b63cba41a5a0bb3

Contents?: true

Size: 353 Bytes

Versions: 1

Compression:

Stored size: 353 Bytes

Contents

class Glb::Lb
  class HealthCheck < Resource
    # Override to add http to the command
    def up_command
      "gcloud compute health-checks #{action} http #{resource_name} #{args}" if valid?
    end

    # Override to add http to the command
    def args
      Args.new("health-checks #{action} http", config.health_check).transform
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
glb-0.1.1 lib/glb/lb/health_check.rb